summary refs log tree commit diff
path: root/src/ui/NhekoGlobalObject.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-10-09 20:57:38 +0000
committerGitHub <noreply@github.com>2021-10-09 20:57:38 +0000
commit7eb9071b50e540fdcde4d132bdf76825da4518e4 (patch)
tree4736f7d46480146f5ddb41bd1cc598aaca05534f /src/ui/NhekoGlobalObject.cpp
parentMerge pull request #752 from Thulinma/devicelistEdits (diff)
parentmake lint (diff)
downloadnheko-7eb9071b50e540fdcde4d132bdf76825da4518e4.tar.xz
Merge pull request #743 from LorenDB/qmlLogout
QML the logout dialog
Diffstat (limited to 'src/ui/NhekoGlobalObject.cpp')
-rw-r--r--src/ui/NhekoGlobalObject.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/NhekoGlobalObject.cpp b/src/ui/NhekoGlobalObject.cpp

index d6824996..d687a308 100644 --- a/src/ui/NhekoGlobalObject.cpp +++ b/src/ui/NhekoGlobalObject.cpp
@@ -14,6 +14,7 @@ #include "MainWindow.h" #include "UserSettingsPage.h" #include "Utils.h" +#include "WebRTCSession.h" Nheko::Nheko() { @@ -83,9 +84,9 @@ Nheko::showUserSettingsPage() const } void -Nheko::openLogoutDialog() const +Nheko::logout() const { - MainWindow::instance()->openLogoutDialog(); + ChatPage::instance()->initiateLogout(); } void