mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Silenced clang warnings
This commit is contained in:
parent
77ac919b83
commit
b1647d944c
@ -160,7 +160,7 @@ void GUI::mapInitialized()
|
||||
_showMapAction->setEnabled(true);
|
||||
_clearMapCacheAction->setEnabled(true);
|
||||
} else {
|
||||
qWarning(qPrintable(map->name() + ": " + map->errorString()));
|
||||
qWarning("%s: %s", qPrintable(map->name()), qPrintable(map->errorString()));
|
||||
action->deleteLater();
|
||||
}
|
||||
}
|
||||
|
@ -75,7 +75,8 @@ QList<Map*> MapList::loadDir(const QString &path, QString &errorString)
|
||||
if (map)
|
||||
list.append(map);
|
||||
else
|
||||
qWarning(qPrintable(fi.absoluteFilePath() + ": " + errorString));
|
||||
qWarning("%s: %s", qPrintable(fi.absoluteFilePath()),
|
||||
qPrintable(errorString));
|
||||
if (terminate)
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user