summary refs log tree commit diff
path: root/src/MainWindow.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-04-09 02:17:04 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-04-09 02:17:04 +0300
commit239780557f6641c225828e0cb6508f47c0bc15aa (patch)
tree1a064cfd3cdb11dd46aa7b04737e7a07c2333eba /src/MainWindow.cc
parentImplement initial registration stage (diff)
downloadnheko-239780557f6641c225828e0cb6508f47c0bc15aa.tar.xz
Add logout button
Logout from the current session and invalidate the current token
Diffstat (limited to 'src/MainWindow.cc')
-rw-r--r--src/MainWindow.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/MainWindow.cc b/src/MainWindow.cc

index 2b4103ff..12d680a0 100644 --- a/src/MainWindow.cc +++ b/src/MainWindow.cc
@@ -57,6 +57,8 @@ MainWindow::MainWindow(QWidget *parent) this, SLOT(matrixRegister(const QString &, const QString &, const QString &))); + connect(chat_page_, SIGNAL(close()), this, SLOT(showWelcomePage())); + connect(matrix_client_, SIGNAL(registerError(const QString &)), register_page_,