diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-10-20 22:32:48 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-10-20 22:32:48 +0300 |
commit | 13e526c27d91c5cfa61ef709b7d1b0e709ba59fb (patch) | |
tree | 1b87c3c3894aa0ed71f276838a1d7011d26da5c9 /src/MainWindow.cc | |
parent | 8a9a513ecd352768a7c14d30252394c6973a352e (diff) |
Retry initial sync (#19)
Diffstat (limited to 'src/MainWindow.cc')
-rw-r--r-- | src/MainWindow.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/MainWindow.cc b/src/MainWindow.cc index f6276967..b6033eaf 100644 --- a/src/MainWindow.cc +++ b/src/MainWindow.cc @@ -73,6 +73,10 @@ MainWindow::MainWindow(QWidget *parent) connect( chat_page_, SIGNAL(changeWindowTitle(QString)), this, SLOT(setWindowTitle(QString))); connect(chat_page_, SIGNAL(unreadMessages(int)), trayIcon_, SLOT(setUnreadCount(int))); + connect(chat_page_, &ChatPage::showLoginPage, this, [=](const QString &msg) { + login_page_->loginError(msg); + showLoginPage(); + }); connect(trayIcon_, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), |