diff options
Diffstat (limited to 'common/log.cpp')
-rw-r--r-- | common/log.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/log.cpp b/common/log.cpp index cf2871e..b271f6e 100644 --- a/common/log.cpp +++ b/common/log.cpp | |||
@@ -447,17 +447,10 @@ QDebug Sink::Log::debugStream(DebugLevel debugLevel, int line, const char *file, | |||
447 | } | 447 | } |
448 | output += ":"; | 448 | output += ":"; |
449 | 449 | ||
450 | #ifdef Q_OS_WIN | ||
451 | //If we print to std::cout we won't see the messages in DebugView | ||
452 | QDebug debug(QtDebugMsg); | ||
453 | #else | ||
454 | if (sDebugStream.isDestroyed()) { | 450 | if (sDebugStream.isDestroyed()) { |
455 | return QDebug{QtDebugMsg}; | 451 | return QDebug{QtDebugMsg}; |
456 | } | 452 | } |
457 | QDebug debug(sDebugStream); | 453 | QDebug debug(sDebugStream); |
458 | #endif | ||
459 | |||
460 | debug.noquote().nospace() << output; | 454 | debug.noquote().nospace() << output; |
461 | |||
462 | return debug.space().quote(); | 455 | return debug.space().quote(); |
463 | } | 456 | } |