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

Make Coverity happy

This commit is contained in:
Martin Tůma 2017-07-12 22:07:18 +02:00
parent ab65deadb6
commit a6e522d758

View File

@ -411,7 +411,7 @@ OfflineMap::OfflineMap(const QString &fileName, QObject *parent)
_valid = false;
_img = 0;
_projection = 0;
_resolution = 0;
_resolution = 0.0;
if (suffix == "tar") {
if (!_tar.load(fileName)) {
@ -477,6 +477,7 @@ OfflineMap::OfflineMap(const QString &fileName, Tar &tar, QObject *parent)
_valid = false;
_img = 0;
_projection = 0;
_resolution = 0.0;
QFileInfo map(fi.absolutePath());
QFileInfo layer(map.absolutePath());