diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-05-07 19:03:58 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-05-07 19:12:30 +0200 |
commit | 87070289fd839b5be40e7cb9531d43921a10a99a (patch) | |
tree | f06ac244c0c08bf282fa99845f35b075b9195b16 /src/MainWindow.h | |
parent | Rework focus handling (diff) | |
download | nheko-87070289fd839b5be40e7cb9531d43921a10a99a.tar.xz |
Activate window that already has the room open if possible
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r-- | src/MainWindow.h | 2 |
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: |