From 48f21e188360f4fd4d0fbbde2e4a22d5f176b7e6 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 18 May 2018 14:29:08 +0200 Subject: sDebugStream now supports debug messages on windows. --- common/log.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'common/log.cpp') 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, } output += ":"; -#ifdef Q_OS_WIN - //If we print to std::cout we won't see the messages in DebugView - QDebug debug(QtDebugMsg); -#else if (sDebugStream.isDestroyed()) { return QDebug{QtDebugMsg}; } QDebug debug(sDebugStream); -#endif - debug.noquote().nospace() << output; - return debug.space().quote(); } -- cgit v1.2.3