2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Replace cDebug() with Logs::DebugEnabled().

This commit is contained in:
John Preston
2018-06-05 16:32:26 +03:00
parent 9055b33e92
commit 72f95b984f
22 changed files with 58 additions and 45 deletions

View File

@@ -215,7 +215,7 @@ void Launcher::processArguments() {
}
gTestMode = parseResult.contains("-testmode");
gDebug = parseResult.contains("-debug");
Logs::SetDebugEnabled(parseResult.contains("-debug"));
gManyInstance = parseResult.contains("-many");
gKeyFile = parseResult.value("-key", QStringList()).join(QString());
gLaunchMode = parseResult.contains("-autostart") ? LaunchModeAutoStart