diff --git a/src/map/maplist.cpp b/src/map/maplist.cpp index 9a3b1952..e853e95f 100644 --- a/src/map/maplist.cpp +++ b/src/map/maplist.cpp @@ -87,7 +87,7 @@ Map *MapList::loadFile(const QString &path, const Projection &proj, bool *isDir) if (!map) { qWarning("Error loading map file: %s:", qPrintable(path)); for (int i = 0; i < errors.size(); i++) - qWarning(qPrintable(errors.at(i))); + qWarning("%s", qPrintable(errors.at(i))); } }