summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-07-08 09:53:04 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-07-08 09:53:04 +0200
commite682ed2e333d873b1f6325495f91cb6be654ecc8 (patch)
tree796b7ca0448e9b47173139f39399eb861cea7ff7 /gui
parent81c6f744780fee7381e62a702aebba7a5ec4d6f3 (diff)
gui/init: fix braino
Diffstat (limited to 'gui')
-rw-r--r--gui/init.cpp14
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);
}