projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Logging changed in Qt 5; use QtMessageHandler
[quassel.git]
/
src
/
client
/
client.h
diff --git
a/src/client/client.h
b/src/client/client.h
index
e3aacd0
..
d93c62b
100644
(file)
--- a/
src/client/client.h
+++ b/
src/client/client.h
@@
-142,7
+142,11
@@
public:
static void mergeBuffersPermanently(BufferId bufferId1, BufferId bufferId2);
static void purgeKnownBufferIds();
static void mergeBuffersPermanently(BufferId bufferId1, BufferId bufferId2);
static void purgeKnownBufferIds();
+#if QT_VERSION < 0x050000
static void logMessage(QtMsgType type, const char *msg);
static void logMessage(QtMsgType type, const char *msg);
+#else
+ static void logMessage(QtMsgType, const QMessageLogContext&, const QString&);
+#endif
static inline const QString &debugLog() { return instance()->_debugLogBuffer; }
signals:
static inline const QString &debugLog() { return instance()->_debugLogBuffer; }
signals: