mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Replace cDebug() with Logs::DebugEnabled().
This commit is contained in:
@@ -410,8 +410,9 @@ void WorkingDirReady() {
|
||||
if (QFile(cWorkingDir() + qsl("tdata/withtestmode")).exists()) {
|
||||
cSetTestMode(true);
|
||||
}
|
||||
if (!cDebug() && QFile(cWorkingDir() + qsl("tdata/withdebug")).exists()) {
|
||||
cSetDebug(true);
|
||||
if (!Logs::DebugEnabled()
|
||||
&& QFile(cWorkingDir() + qsl("tdata/withdebug")).exists()) {
|
||||
Logs::SetDebugEnabled(true);
|
||||
}
|
||||
if (cBetaVersion()) {
|
||||
cSetAlphaVersion(false);
|
||||
|
Reference in New Issue
Block a user