2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

fixed online display, fixed reading messages on idle

This commit is contained in:
John Preston
2014-06-20 11:06:21 +04:00
parent d68aeb1b49
commit e0a364dd0f
14 changed files with 77 additions and 31 deletions

View File

@@ -45,8 +45,13 @@ int main(int argc, char *argv[]) {
DEBUG_LOG(("Application Info: ideal thread count: %1, using %2 connections per session").arg(QThread::idealThreadCount()).arg(cConnectionsInSession()));
Application app(argc, argv);
int result = App::quiting() ? 0 : app.exec();
int result = 0;
{
Application app(argc, argv);
if (!App::quiting()) {
result = app.exec();
}
}
psFinish();