summaryrefslogtreecommitdiffstats
path: root/src/modules/help
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-05-04 19:05:43 -0500
committerTimothy Pearson <[email protected]>2012-05-04 19:05:43 -0500
commit51ff06f0c1c6981694fe60a20870de26749b895f (patch)
tree94572b61eb311e60cce0bf919fc4598c3246ff53 /src/modules/help
parent457d86b60c67cc39cf57a3dac678135e3901fd60 (diff)
downloadkvirc-51ff06f0c1c6981694fe60a20870de26749b895f.tar.gz
kvirc-51ff06f0c1c6981694fe60a20870de26749b895f.zip
Fix format string errors
Diffstat (limited to 'src/modules/help')
-rwxr-xr-xsrc/modules/help/index.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/help/index.cpp b/src/modules/help/index.cpp
index 3aa8d408..b72989c1 100755
--- a/src/modules/help/index.cpp
+++ b/src/modules/help/index.cpp
@@ -156,7 +156,7 @@ void Index::parseDocument( const TQString &filename, int docNum )
{
KviFile file( filename );
if ( !file.openForReading() ) {
- tqWarning( "can not open file " + filename );
+ tqWarning( "can not open file %s", filename.ascii() );
return;
}
TQTextStream s( &file );
@@ -452,7 +452,7 @@ TQString Index::getDocumentTitle( const TQString &fileName )
if ( !file.openForReading() ) {
- tqWarning( "cannot open file " + fileName );
+ tqWarning( "cannot open file %s", fileName.ascii() );
return fileName;
@@ -701,7 +701,7 @@ bool Index::searchForPattern( const TQStringList &patterns, const TQStringList &
if ( !file.openForReading() ) {
- tqWarning( "cannot open file " + fileName );
+ tqWarning( "cannot open file %s", fileName.ascii() );
return FALSE;
@@ -851,4 +851,4 @@ bool Index::searchForPattern( const TQStringList &patterns, const TQStringList &
-#include "index.moc" \ No newline at end of file
+#include "index.moc"