From f08065ca12cb5485d3bd82c8b29cbff13344712a Mon Sep 17 00:00:00 2001 From: Marcus Eggenberger Date: Thu, 6 Nov 2008 13:15:24 +0100 Subject: [PATCH] showing fatal messages on stderr again (client only) --- src/client/client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1