diff --git a/src/libtomahawk/utils/Logger.cpp b/src/libtomahawk/utils/Logger.cpp index a5a5d1aed..457b881bd 100644 --- a/src/libtomahawk/utils/Logger.cpp +++ b/src/libtomahawk/utils/Logger.cpp @@ -114,7 +114,8 @@ TomahawkLogHandler( QtMsgType type, const char* msg ) static QMutex s_mutex; #if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 ) - const char* message = msg.toLatin1().constData(); + QByteArray ba = msg.toUtf8(); + const char* message = ba.constData(); #else const char* message = msg; #endif