projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1360e8
)
showing fatal messages on stderr again (client only)
author
Marcus Eggenberger
<egs@quassel-irc.org>
Thu, 6 Nov 2008 12:15:24 +0000
(13:15 +0100)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Thu, 6 Nov 2008 12:15:24 +0000
(13:15 +0100)
src/client/client.cpp
patch
|
blob
|
history
diff --git
a/src/client/client.cpp
b/src/client/client.cpp
index
5b35867
..
b61ebd7
100644
(file)
--- 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);