diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-15 19:04:02 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-15 19:04:02 +0300 |
commit | e1d48367f8ccb83fc1fcdaee899e5bf4f8ac2669 (patch) | |
tree | ae84a8e5f6d1208d5cbf7a05c6e8ab2eaf322c48 /src/MainWindow.cc | |
parent | e02dd2b8c525e48c4782a9ded7b38f5840bdd555 (diff) |
Show the unread message count on the window title
Diffstat (limited to 'src/MainWindow.cc')
-rw-r--r-- | src/MainWindow.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MainWindow.cc b/src/MainWindow.cc index d0d01bcb..3d591755 100644 --- a/src/MainWindow.cc +++ b/src/MainWindow.cc @@ -51,6 +51,7 @@ MainWindow::MainWindow(QWidget *parent) connect(register_page_, SIGNAL(backButtonClicked()), this, SLOT(showWelcomePage())); connect(chat_page_, SIGNAL(close()), this, SLOT(showWelcomePage())); + connect(chat_page_, SIGNAL(changeWindowTitle(QString)), this, SLOT(setWindowTitle(QString))); connect(client_.data(), SIGNAL(loginSuccess(QString, QString, QString)), |