summaryrefslogtreecommitdiffstats
path: root/src/tools/qgdict.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-12 17:34:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-12 17:34:58 -0600
commite90b15c55dd5cfa5b40e078722c8145264ee7237 (patch)
tree1ea53f263a5d960f339e231cb338a3868768f516 /src/tools/qgdict.cpp
parentd51c5c4d31274906405b22762f560fc999414822 (diff)
downloadqt3-e90b15c55dd5cfa5b40e078722c8145264ee7237.tar.gz
qt3-e90b15c55dd5cfa5b40e078722c8145264ee7237.zip
Clean up a few build warnings
Diffstat (limited to 'src/tools/qgdict.cpp')
-rw-r--r--src/tools/qgdict.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/qgdict.cpp b/src/tools/qgdict.cpp
index 7f6a314..b9c1810 100644
--- a/src/tools/qgdict.cpp
+++ b/src/tools/qgdict.cpp
@@ -846,11 +846,11 @@ void QGDict::statistics() const
QString line;
line.fill( '-', 60 );
double real, ideal;
- qDebug( line.ascii() );
+ qDebug( "%s", line.ascii() );
qDebug( "DICTIONARY STATISTICS:" );
if ( count() == 0 ) {
qDebug( "Empty!" );
- qDebug( line.ascii() );
+ qDebug( "%s", line.ascii() );
return;
}
real = 0.0;
@@ -871,7 +871,7 @@ void QGDict::statistics() const
while ( b-- )
*pbuf++ = '*';
*pbuf = '\0';
- qDebug( buf );
+ qDebug( "%s", buf );
i++;
}
qDebug( "Array size = %d", size() );
@@ -879,7 +879,7 @@ void QGDict::statistics() const
qDebug( "Real dist = %g", real );
qDebug( "Rand dist = %g", ideal );
qDebug( "Real/Rand = %g", real/ideal );
- qDebug( line.ascii() );
+ qDebug( "%s", line.ascii() );
#endif // QT_DEBUG
}