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

temp downgrade to Qt 5.4 on OS X (Qt 5.5 does not support OS X 10.7)

This commit is contained in:
John Preston
2015-07-28 15:47:21 +02:00
parent aaf347432b
commit b0d67a65a8
11 changed files with 424 additions and 389 deletions

View File

@@ -25,6 +25,7 @@ Qt::LayoutDirection gLangDir = Qt::LeftToRight;
mtpDcOptions gDcOptions;
bool gDevVersion = DevVersion;
bool gTestMode = false;
bool gDebug = false;
bool gManyInstance = false;
@@ -159,10 +160,13 @@ int gOtherOnline = 0;
float64 gSongVolume = 0.9;
void settingsParseArgs(int argc, char *argv[]) {
#ifdef Q_OS_MAC
gCustomNotifies = (QSysInfo::macVersion() < QSysInfo::MV_10_8);
#else
gCustomNotifies = true;
#ifdef Q_OS_MAC
if (QSysInfo::macVersion() < QSysInfo::MV_10_8) {
gUpdateURL = QUrl(qsl("http://tdesktop.com/mac32/tupdates/current"));
} else {
gCustomNotifies = false;
}
#endif
memset_rand(&gInstance, sizeof(gInstance));
gExeDir = psCurrentExeDirectory(argc, argv);