diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-09 02:17:04 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-09 02:17:04 +0300 |
commit | 239780557f6641c225828e0cb6508f47c0bc15aa (patch) | |
tree | 1a064cfd3cdb11dd46aa7b04737e7a07c2333eba /src/MainWindow.cc | |
parent | f50fb34fb69744ca91091b6cfadd87c9b32dbf41 (diff) |
Add logout button
Logout from the current session and invalidate the current token
Diffstat (limited to 'src/MainWindow.cc')
-rw-r--r-- | src/MainWindow.cc | 2 |
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_, |