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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user