mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix -debug argument
processArguments is called before ComputeDebugMode gets called, Logs::DebugEnabled gets overriden that way. Fix that by setting gDebugMode variable and checking it in ComputeDebugMode.
This commit is contained in:
@@ -87,6 +87,7 @@ DeclareSetting(bool, WriteProtected);
|
||||
DeclareSetting(int32, LastUpdateCheck);
|
||||
DeclareSetting(bool, NoStartUpdate);
|
||||
DeclareSetting(bool, StartToSettings);
|
||||
DeclareSetting(bool, DebugMode);
|
||||
DeclareReadSetting(bool, ManyInstance);
|
||||
|
||||
DeclareSetting(QByteArray, LocalSalt);
|
||||
|
||||
Reference in New Issue
Block a user