diff options
Diffstat (limited to 'src/modules/help/index.cpp')
| -rw-r--r-- | src/modules/help/index.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/help/index.cpp b/src/modules/help/index.cpp index d65639e3f..3a7664b83 100644 --- a/src/modules/help/index.cpp +++ b/src/modules/help/index.cpp @@ -150,7 +150,7 @@ void Index::parseDocument( const QString &filename, int docNum ) KviFile file( filename ); if ( !file.openForReading() ) { QString warn = "cannot open file " + filename; - qWarning( warn.toUtf8().data() ); + qWarning("%s", warn.toUtf8().data() ); return; } QTextStream s( &file ); @@ -338,7 +338,7 @@ QString Index::getDocumentTitle( const QString &fileName ) KviFile file( fileName ); if ( !file.openForReading() ) { QString warn = "cannot open file " + fileName; - qWarning( warn.toUtf8().data() ); + qWarning("%s", warn.toUtf8().data() ); return fileName; } @@ -477,7 +477,7 @@ bool Index::searchForPattern( const QStringList &patterns, const QStringList &wo if ( !file.openForReading() ) { QString warn = "cannot open file " + fileName; - qWarning( warn.toUtf8().data() ); + qWarning("%s", warn.toUtf8().data() ); return FALSE; } else debug("Open file %s",fileName.toUtf8().data()); |
