diff options
-rw-r--r-- | rbutil/rbutilqt/systrace.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/systrace.cpp b/rbutil/rbutilqt/systrace.cpp index 03ba730c9b..5600eb042b 100644 --- a/rbutil/rbutilqt/systrace.cpp +++ b/rbutil/rbutilqt/systrace.cpp @@ -99,8 +99,7 @@ void SysTrace::debug(QtMsgType type, const char* msg) if(lastmessage != msg) { lastmessage = msg; flush(); - debugbuffer.append(msg); - debugbuffer.append("\n"); + debugbuffer.append(QString::fromLocal8Bit(msg) + "\n"); #if !defined(NODEBUG) fprintf(stderr, "%s\n", msg); #endif |