mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix two crashes in OS X 10.6.
Disable rtl control chars (harfbuzz-ng crashes on them). Disable creating state of not yet created top level windows.
This commit is contained in:
@@ -104,6 +104,7 @@ DBIPlatform gPlatform = dbipLinux32;
|
||||
QString gPlatformString;
|
||||
QUrl gUpdateURL;
|
||||
bool gIsElCapitan = false;
|
||||
bool gIsSnowLeopard = false;
|
||||
|
||||
int gOtherOnline = 0;
|
||||
|
||||
@@ -195,6 +196,9 @@ void InitFromCommandLine(int argc, char *argv[]) {
|
||||
gIsElCapitan = true;
|
||||
}
|
||||
#else // OS_MAC_OLD
|
||||
if (QSysInfo::macVersion() < QSysInfo::MV_10_7) {
|
||||
gIsSnowLeopard = true;
|
||||
}
|
||||
gPlatform = dbipMacOld;
|
||||
#endif // OS_MAC_OLD
|
||||
#endif // Q_OS_MAC
|
||||
|
Reference in New Issue
Block a user