2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Fix build with TDESKTOP_DISABLE_CRASH_REPORTS.

Regression was introduced in 97c15865a5.

Fixes #4173.
This commit is contained in:
John Preston
2017-12-13 00:15:58 +04:00
parent 2d5188b968
commit 0a4038d061
3 changed files with 10 additions and 0 deletions

View File

@@ -90,8 +90,10 @@ QAbstractNativeEventFilter *psNativeEventFilter() {
}
void psWriteDump() {
#ifndef TDESKTOP_DISABLE_CRASH_REPORTS
double v = objc_appkitVersion();
CrashReports::dump() << "OS-Version: " << v;
#endif // TDESKTOP_DISABLE_CRASH_REPORTS
}
QString demanglestr(const QString &mangled) {