diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-18 14:18:30 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-18 14:18:30 +0200 |
commit | 4c24fc9c909bfb9ccc32f3691450b117292c9b1d (patch) | |
tree | 21c17668f260688523110f70e38507997220b3d0 /common/log.cpp | |
parent | 65264424f949dd529ef7613d2198623eddd951ad (diff) | |
download | sink-4c24fc9c909bfb9ccc32f3691450b117292c9b1d.tar.gz sink-4c24fc9c909bfb9ccc32f3691450b117292c9b1d.zip |
Don't use color on windows was the idea.
Diffstat (limited to 'common/log.cpp')
-rw-r--r-- | common/log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/log.cpp b/common/log.cpp index 007b749..cf2871e 100644 --- a/common/log.cpp +++ b/common/log.cpp | |||
@@ -407,9 +407,9 @@ QDebug Sink::Log::debugStream(DebugLevel debugLevel, int line, const char *file, | |||
407 | bool showFunction = debugOutput.isEmpty() ? false : caseInsensitiveContains("function", debugOutput); | 407 | bool showFunction = debugOutput.isEmpty() ? false : caseInsensitiveContains("function", debugOutput); |
408 | bool showProgram = debugOutput.isEmpty() ? false : caseInsensitiveContains("application", debugOutput); | 408 | bool showProgram = debugOutput.isEmpty() ? false : caseInsensitiveContains("application", debugOutput); |
409 | #ifdef Q_OS_WIN | 409 | #ifdef Q_OS_WIN |
410 | bool useColor = true; | ||
411 | #else | ||
412 | bool useColor = false; | 410 | bool useColor = false; |
411 | #else | ||
412 | bool useColor = true; | ||
413 | #endif | 413 | #endif |
414 | bool multiline = false; | 414 | bool multiline = false; |
415 | 415 | ||