diff --git a/src/data/poi.cpp b/src/data/poi.cpp index bf8927a3..7315a907 100644 --- a/src/data/poi.cpp +++ b/src/data/poi.cpp @@ -63,8 +63,8 @@ void POI::loadDir(const QString &path) loadDir(fi.absoluteFilePath()); else if (!loadFile(fi.absoluteFilePath())) - qWarning(qPrintable(fi.absoluteFilePath() + ": " - + _errorString)); + qWarning("%s: %s", qPrintable(fi.absoluteFilePath()), + qPrintable(_errorString)); } }