2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Several crashes fixed.

This commit is contained in:
John Preston
2016-04-14 22:24:42 +03:00
parent d6070c37d1
commit bb70a76b9c
22 changed files with 195 additions and 166 deletions

View File

@@ -56,7 +56,7 @@ private:
QLocalServer _localServer;
QLocalSocket _localSocket;
LocalClients _localClients;
bool _secondInstance;
bool _secondInstance = false;
void singleInstanceChecked();
@@ -98,10 +98,10 @@ public slots:
private:
SingleTimer _updateCheckTimer;
QNetworkReply *_updateReply;
QNetworkReply *_updateReply = nullptr;
QNetworkAccessManager _updateManager;
QThread *_updateThread;
UpdateChecker *_updateChecker;
QThread *_updateThread = nullptr;
UpdateChecker *_updateChecker = nullptr;
#endif
};
@@ -202,6 +202,7 @@ public slots:
void onAppStateChanged(Qt::ApplicationState state);
void call_handleHistoryUpdate();
void call_handleUnreadCounterUpdate();
private: