1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Silenced clang warning

This commit is contained in:
Martin Tůma 2018-02-08 18:34:06 +01:00
parent 06f2c883d4
commit 84a6f6c875

View File

@ -109,7 +109,7 @@ void GUI::loadMaps()
dir = GLOBAL_MAP_DIR; dir = GLOBAL_MAP_DIR;
if (!dir.isNull() && !_ml->loadDir(dir)) if (!dir.isNull() && !_ml->loadDir(dir))
qWarning(qPrintable(_ml->errorString())); qWarning("%s", qPrintable(_ml->errorString()));
_map = new EmptyMap(this); _map = new EmptyMap(this);
} }
@ -125,7 +125,7 @@ void GUI::loadPOIs()
dir = GLOBAL_POI_DIR; dir = GLOBAL_POI_DIR;
if (!dir.isNull() && !_poi->loadDir(dir)) if (!dir.isNull() && !_poi->loadDir(dir))
qWarning(qPrintable(_poi->errorString())); qWarning("%s", qPrintable(_poi->errorString()));
} }
void GUI::createBrowser() void GUI::createBrowser()