mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Disabled debug logging by default for macOS debug builds.
This commit is contained in:
@@ -119,7 +119,7 @@ void ComputeDebugMode() {
|
||||
auto file = QFile(debugModeSettingPath);
|
||||
if (file.exists() && file.open(QIODevice::ReadOnly)) {
|
||||
Logs::SetDebugEnabled(file.read(1) != "0");
|
||||
#if defined _DEBUG
|
||||
#if defined _DEBUG && !defined Q_OS_MAC
|
||||
} else {
|
||||
Logs::SetDebugEnabled(true);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user