summaryrefslogtreecommitdiffstats
path: root/async/src
diff options
context:
space:
mode:
Diffstat (limited to 'async/src')
-rw-r--r--async/src/debug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/async/src/debug.cpp b/async/src/debug.cpp
index 9dfad1a..fdf2fa1 100644
--- a/async/src/debug.cpp
+++ b/async/src/debug.cpp
@@ -66,8 +66,10 @@ Tracer::~Tracer()
66 66
67void Tracer::msg(Tracer::MsgType msgType) 67void Tracer::msg(Tracer::MsgType msgType)
68{ 68{
69#ifndef QT_NO_DEBUG
69 qCDebug(Trace).nospace() << (QString().fill(QLatin1Char(' '), mId * 2) % 70 qCDebug(Trace).nospace() << (QString().fill(QLatin1Char(' '), mId * 2) %
70 (msgType == Async::Tracer::Start ? " START " : " END ") % 71 (msgType == Async::Tracer::Start ? " START " : " END ") %
71 QString::number(mId) % " " % 72 QString::number(mId) % " " %
72 mExecution->executor->mExecutorName); 73 mExecution->executor->mExecutorName);
74#endif
73} 75}