mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
half warnings fixed, half disabled for mac build, custom openssl build used, fixed notify activate, bold fonts etc
This commit is contained in:
@@ -70,6 +70,8 @@ float64 gRetinaFactor = 1.;
|
||||
int32 gIntRetinaFactor = 1;
|
||||
bool gCustomNotifies = false;
|
||||
|
||||
uint64 gInstance = 0.;
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
DBIPlatform gPlatform = dbipWindows;
|
||||
#elif defined Q_OS_MAC
|
||||
@@ -81,6 +83,7 @@ DBIPlatform gPlatform = dbipLinux;
|
||||
#endif
|
||||
|
||||
void settingsParseArgs(int argc, char *argv[]) {
|
||||
memset_rand(&gInstance, sizeof(gInstance));
|
||||
gExeDir = psCurrentExeDirectory(argc, argv);
|
||||
for (int32 i = 0; i < argc; ++i) {
|
||||
if (string("-release") == argv[i]) {
|
||||
|
Reference in New Issue
Block a user