diff options
-rw-r--r-- | gui/init.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gui/init.cpp b/gui/init.cpp index 1fd6ff4e..c3ca53e0 100644 --- a/gui/init.cpp +++ b/gui/init.cpp @@ -118,11 +118,11 @@ static void qdebug_to_console(QtMsgType loglevel, const QMessageLogContext& ctx, switch (loglevel) { default: - case QtDebugMsg: level = "DEBUG "; break; - case QtWarningMsg: level = "WARN "; break; - case QtCriticalMsg: level = "CRIT "; break; - case QtFatalMsg: level = "FATAL "; break; - case QtInfoMsg: level = "INFO "; break; + case QtDebugMsg: level = "DEBUG"; break; + case QtWarningMsg: level = "WARN"; break; + case QtCriticalMsg: level = "CRIT"; break; + case QtFatalMsg: level = "FATAL"; break; + case QtInfoMsg: level = "INFO"; break; } #ifdef _WIN32 @@ -151,9 +151,9 @@ static void qdebug_to_console(QtMsgType loglevel, const QMessageLogContext& ctx, #endif { if (ctx.file) - std::fprintf(stderr, "%s[%s:%d]: %ls\n", level, ctx.file, ctx.line, bytes); + std::fprintf(stderr, "%s [%s:%d]: %ls\n", level, ctx.file, ctx.line, bytes); else - std::fprintf(stderr, "%s%ls\n", level, bytes); + std::fprintf(stderr, "%s %ls\n", level, bytes); } std::fflush(stderr); } |