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