Show the unread message count on the window title

This commit is contained in:
Konstantinos Sideris 2017-04-15 19:04:02 +03:00
parent e02dd2b8c5
commit e1d48367f8
6 changed files with 41 additions and 1 deletions

View file

@ -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)),