summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxscreeneventthread.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-10-24 12:41:08 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-11-28 16:34:26 +0000
commit40a8302115d6bcc171b314c7d3b4e574b08b66b0 (patch)
treefeea53dcd14aa0d37a5adb76da64f58569b2a665 /src/plugins/platforms/qnx/qqnxscreeneventthread.cpp
parenta4ecd5f1b336629c3f1e0224e28c639a9d56757e (diff)
QtBase: remove explicit function info from qWarning() etc
This information is already registered by the QMessageLogger ctor. Where, by dropping the << Q_FUNC_INFO in ostream-style qDebug(), only a string literal remained, converted to printf-style qDebug() on the go. Change-Id: I3f261c98fd7bcfa1fead381a75a82713bb75e6f3 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxscreeneventthread.cpp')
-rw-r--r--src/plugins/platforms/qnx/qqnxscreeneventthread.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/platforms/qnx/qqnxscreeneventthread.cpp b/src/plugins/platforms/qnx/qqnxscreeneventthread.cpp
index e0801a2d60..a7d5c4d4bc 100644
--- a/src/plugins/platforms/qnx/qqnxscreeneventthread.cpp
+++ b/src/plugins/platforms/qnx/qqnxscreeneventthread.cpp
@@ -84,7 +84,7 @@ void QQnxScreenEventThread::unlock()
void QQnxScreenEventThread::run()
{
- qScreenEventThreadDebug() << Q_FUNC_INFO << "screen event thread started";
+ qScreenEventThreadDebug("screen event thread started");
int errorCounter = 0;
// loop indefinitely
@@ -117,7 +117,7 @@ void QQnxScreenEventThread::run()
if (qnxType == SCREEN_EVENT_USER) {
// treat all user events as shutdown requests
- qScreenEventThreadDebug() << Q_FUNC_INFO << "QNX user screen event";
+ qScreenEventThreadDebug("QNX user screen event");
m_quit = true;
} else {
m_mutex.lock();
@@ -127,7 +127,7 @@ void QQnxScreenEventThread::run()
}
}
- qScreenEventThreadDebug() << Q_FUNC_INFO << "screen event thread stopped";
+ qScreenEventThreadDebug("screen event thread stopped");
// cleanup
m_mutex.lock();
@@ -160,10 +160,10 @@ void QQnxScreenEventThread::shutdown()
// cleanup
screen_destroy_event(event);
- qScreenEventThreadDebug() << Q_FUNC_INFO << "screen event thread shutdown begin";
+ qScreenEventThreadDebug("screen event thread shutdown begin");
// block until thread terminates
wait();
- qScreenEventThreadDebug() << Q_FUNC_INFO << "screen event thread shutdown end";
+ qScreenEventThreadDebug("screen event thread shutdown end");
}