From: Marcus Eggenberger Date: Thu, 6 Nov 2008 12:15:24 +0000 (+0100) Subject: showing fatal messages on stderr again (client only) X-Git-Tag: 0.3.1~67 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=f08065ca12cb5485d3bd82c8b29cbff13344712a showing fatal messages on stderr again (client only) --- diff --git a/src/client/client.cpp b/src/client/client.cpp index 5b358673..b61ebd7e 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -409,11 +409,11 @@ void Client::bufferRenamed(BufferId bufferId, const QString &newName) { } void Client::logMessage(QtMsgType type, const char *msg) { + fprintf(stderr, "%s\n", msg); + fflush(stderr); if(type == QtFatalMsg) { Quassel::logFatalMessage(msg); } else { - fprintf(stderr, "%s\n", msg); - fflush(stderr); QString msgString = QString("%1\n").arg(msg); instance()->_debugLog << msgString; emit instance()->logUpdated(msgString);