aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgadaptationlayer.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@jollamobile.com>2014-01-07 11:10:59 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-07 14:44:32 +0100
commitf03de5497d269fadcddc71794869dddbf8870129 (patch)
tree65ab9e73fd914b9ac8dfa311cb7e760bb6f451cb /src/quick/scenegraph/qsgadaptationlayer.cpp
parent156ce398439bd955f8b231e95e391b703d161e75 (diff)
Use qDebug for all debug under src/quick/scenegraph.
Mixing printf and qDebug can make the output come out of sync. Change-Id: Ia71e71b09cb3bf651010eb2eb652db7899b07f0d Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/quick/scenegraph/qsgadaptationlayer.cpp')
-rw-r--r--src/quick/scenegraph/qsgadaptationlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgadaptationlayer.cpp b/src/quick/scenegraph/qsgadaptationlayer.cpp
index 58c843a286..cb9e4bdf88 100644
--- a/src/quick/scenegraph/qsgadaptationlayer.cpp
+++ b/src/quick/scenegraph/qsgadaptationlayer.cpp
@@ -189,7 +189,7 @@ void QSGDistanceFieldGlyphCache::update()
#ifndef QSG_NO_RENDER_TIMING
if (qsg_render_timing) {
- printf(" - glyphs: count=%d, render=%d, store=%d, total=%d\n",
+ qDebug(" - glyphs: count=%d, render=%d, store=%d, total=%d",
count,
int(renderTime/1000000),
(int) qsg_render_timer.elapsed() - int(renderTime/1000000),