mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Code cleanup
This commit is contained in:
parent
d994fae4ce
commit
c97561add4
@ -283,13 +283,12 @@ bool OziMap::setTileInfo(const QStringList &tiles, const QString &path)
|
||||
_tile.path = path + "/" + _tile.path;
|
||||
_tile.size = QImageReader(path + "/" + tile).size();
|
||||
}
|
||||
if (!_tile.size.isValid()) {
|
||||
qWarning("%s: error reading tile image", qPrintable(tile));
|
||||
continue;
|
||||
}
|
||||
|
||||
_map.path = QString();
|
||||
return true;
|
||||
if (_tile.size.isValid()) {
|
||||
_map.path = QString();
|
||||
return true;
|
||||
} else
|
||||
qWarning("%s: error reading tile image", qPrintable(tile));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user