summary refs log tree commit diff
path: root/src/MainWindow.h
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-09-23 21:18:48 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-10-11 19:00:40 -0400
commit14488a8fe78f829dadf3899a1c50ab389d05dbe9 (patch)
treec18e36ccbd831a51fd85288d6a92a15ea494f130 /src/MainWindow.h
parentRemove unimplemented function declaration (diff)
downloadnheko-14488a8fe78f829dadf3899a1c50ab389d05dbe9.tar.xz
Use the same leave room dialog everywhere
This ports the leave room dialog to QML, everywhere. There are now no differences between the various leave dialogs.
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r--src/MainWindow.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h
index 64606412..b9d2fe5f 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -37,7 +37,6 @@ struct CreateRoom;
 namespace dialogs {
 class CreateRoom;
 class InviteUsers;
-class LeaveRoom;
 class Logout;
 class MemberList;
 class ReCaptcha;
@@ -58,7 +57,6 @@ public:
     static MainWindow *instance() { return instance_; }
     void saveCurrentWindowSize();
 
-    void openLeaveRoomDialog(const QString &room_id);
     void openCreateRoomDialog(
       std::function<void(const mtx::requests::CreateRoom &request)> callback);
     void openJoinRoomDialog(std::function<void(const QString &room_id)> callback);