From 84a6f6c875541e8a072911f872887d46f47ba61e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 8 Feb 2018 18:34:06 +0100 Subject: [PATCH] Silenced clang warning --- src/GUI/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI/gui.cpp b/src/GUI/gui.cpp index 7d7e298d..0764a99d 100644 --- a/src/GUI/gui.cpp +++ b/src/GUI/gui.cpp @@ -109,7 +109,7 @@ void GUI::loadMaps() dir = GLOBAL_MAP_DIR; if (!dir.isNull() && !_ml->loadDir(dir)) - qWarning(qPrintable(_ml->errorString())); + qWarning("%s", qPrintable(_ml->errorString())); _map = new EmptyMap(this); } @@ -125,7 +125,7 @@ void GUI::loadPOIs() dir = GLOBAL_POI_DIR; if (!dir.isNull() && !_poi->loadDir(dir)) - qWarning(qPrintable(_poi->errorString())); + qWarning("%s", qPrintable(_poi->errorString())); } void GUI::createBrowser()