summary refs log tree commit diff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-07-04 04:24:28 +0200
committerCH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com>2020-07-30 22:10:27 +0530
commit08028d5c57d134fb3d0ca9004730f0b2c99e5e67 (patch)
tree1268c0d9fdfd47966fb386028098ce6634195479 /src/MainWindow.cpp
parentSome issue with UserProfile (diff)
downloadnheko-08028d5c57d134fb3d0ca9004730f0b2c99e5e67.tar.xz
Refactor UserProfile
Diffstat (limited to '')
-rw-r--r--src/MainWindow.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp

index cc1d868b..63b524c8 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp
@@ -318,15 +318,6 @@ MainWindow::hasActiveUser() } void -MainWindow::openUserProfile(const QString &user_id, const QString &room_id) -{ - auto dialog = new dialogs::UserProfile(this); - dialog->init(user_id, room_id); - - showDialog(dialog); -} - -void MainWindow::openRoomSettings(const QString &room_id) { const auto roomToSearch = room_id.isEmpty() ? chat_page_->currentRoom() : "";