summaryrefslogtreecommitdiffstats
path: root/src/tools/qgcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qgcache.cpp')
-rw-r--r--src/tools/qgcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qgcache.cpp b/src/tools/qgcache.cpp
index a9f970d..3c70d9f 100644
--- a/src/tools/qgcache.cpp
+++ b/src/tools/qgcache.cpp
@@ -641,7 +641,7 @@ void QGCache::statistics() const
#if defined(QT_DEBUG)
QString line;
line.fill( '*', 80 );
- qDebug( line.ascii() );
+ qDebug( "%s", line.ascii() );
qDebug( "CACHE STATISTICS:" );
qDebug( "cache contains %d item%s, with a total cost of %d",
count(), count() != 1 ? "s" : "", tCost );
@@ -662,7 +662,7 @@ void QGCache::statistics() const
lruList->dumps != 1 ? "have" : "has", lruList->dumpCosts );
qDebug( "Statistics from internal dictionary class:" );
dict->statistics();
- qDebug( line.ascii() );
+ qDebug( "%s", line.ascii() );
#endif
}