X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclient.cpp;h=ca008e907d77f715111f1543e0061b06e730613d;hb=3e8cae7c0724d878ef0e7361d709711750164473;hp=f981040e72070385d2214f5617ca616895bb5df9;hpb=034708a59ca1ee3195263a90941a2b145c520fef;p=quassel.git diff --git a/src/client/client.cpp b/src/client/client.cpp index f981040e..ca008e90 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -421,7 +421,8 @@ void Client::logMessage(QtMsgType type, const char *msg) { Quassel::logFatalMessage(msg); return; } - instance()->_debugLog << prefix << ": " << msg << "\n"; - emit instance()->logUpdated(); + QString msgString = QString("%1: %3\n").arg(prefix, msg); + instance()->_debugLog << msgString; + emit instance()->logUpdated(msgString); }