summaryrefslogtreecommitdiffstats
path: root/subsurface-desktop-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-desktop-main.cpp')
-rw-r--r--subsurface-desktop-main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-desktop-main.cpp b/subsurface-desktop-main.cpp
index 765b3e943..a0b55eb5c 100644
--- a/subsurface-desktop-main.cpp
+++ b/subsurface-desktop-main.cpp
@@ -224,7 +224,7 @@ exit:
void messageHandler(QtMsgType type, const QMessageLogContext &ctx, const QString &msg)
{
Q_UNUSED(ctx);
- QByteArray localMsg = msg.toLocal8Bit();
+ QByteArray localMsg = msg.toUtf8();
switch (type) {
case QtDebugMsg:
fprintf(stdout, "%s\n", localMsg.constData());