summary refs log tree commit diff
path: root/src/MainWindow.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-05-07 19:03:58 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-05-07 19:12:30 +0200
commit87070289fd839b5be40e7cb9531d43921a10a99a (patch)
treef06ac244c0c08bf282fa99845f35b075b9195b16 /src/MainWindow.h
parentRework focus handling (diff)
downloadnheko-87070289fd839b5be40e7cb9531d43921a10a99a.tar.xz
Activate window that already has the room open if possible
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r--src/MainWindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h
index 8c34b348..3db18a98 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -61,7 +61,7 @@ public:
 
     Q_INVOKABLE void addPerRoomWindow(const QString &room, QWindow *window);
     Q_INVOKABLE void removePerRoomWindow(const QString &room, QWindow *window);
-    const QWindow *windowForRoom(const QString &room) const;
+    QWindow *windowForRoom(const QString &room);
     QString focusedRoom() const;
 
 protected: