diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-02-10 16:05:31 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-02-10 16:05:31 +0200 |
commit | 26f221ec23c3ece5bd5b19f080cbfd21c9ffb5f4 (patch) | |
tree | 25fd31b89042b303d90a054e4d876bc5519a41fb /src/ChatPage.cc | |
parent | Update build instructions (diff) | |
download | nheko-26f221ec23c3ece5bd5b19f080cbfd21c9ffb5f4.tar.xz |
Move LeaveRoom dialog to MainWindow (#87)
Diffstat (limited to 'src/ChatPage.cc')
-rw-r--r-- | src/ChatPage.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ChatPage.cc b/src/ChatPage.cc index 78435713..ba7e2797 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc @@ -144,8 +144,6 @@ ChatPage::ChatPage(QSharedPointer<MatrixClient> client, connect(user_info_widget_, SIGNAL(logout()), client_.data(), SLOT(logout())); connect(client_.data(), SIGNAL(loggedOut()), this, SLOT(logout())); - connect( - top_bar_, &TopRoomBar::leaveRoom, this, [=]() { client_->leaveRoom(current_room_); }); connect(top_bar_, &TopRoomBar::inviteUsers, this, [=](QStringList users) { for (int ii = 0; ii < users.size(); ++ii) { QTimer::singleShot(ii * 1000, this, [=]() { |