diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-09-03 19:34:17 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-09-16 23:49:17 +0200 |
commit | 77e241b9e57a3248e2efb16e6cb081a19a666db7 (patch) | |
tree | e1f44e5b252ce2931d41dc57b10671efee58e58c /src/MainWindow.h | |
parent | Port top bar to Qml (diff) | |
download | nheko-77e241b9e57a3248e2efb16e6cb081a19a666db7.tar.xz |
Reenable top bar room settings menus on avatar or title clicks
Also fixes a bug with an empty room settings window introduced in the port.
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r-- | src/MainWindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h index e3e04698..4f54a195 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -68,14 +68,14 @@ public: static MainWindow *instance() { return instance_; }; void saveCurrentWindowSize(); - void openLeaveRoomDialog(const QString &room_id = ""); + void openLeaveRoomDialog(const QString &room_id); void openInviteUsersDialog(std::function<void(const QStringList &invitees)> callback); void openCreateRoomDialog( std::function<void(const mtx::requests::CreateRoom &request)> callback); void openJoinRoomDialog(std::function<void(const QString &room_id)> callback); void openLogoutDialog(); - void openRoomSettings(const QString &room_id = ""); - void openMemberListDialog(const QString &room_id = ""); + void openRoomSettings(const QString &room_id); + void openMemberListDialog(const QString &room_id); void openUserProfile(const QString &user_id, const QString &room_id); void openReadReceiptsDialog(const QString &event_id); |