mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 03:42:09 +01:00
Make coverity happy
This commit is contained in:
parent
957cc6f4f3
commit
c4b3a81b0b
@ -107,6 +107,7 @@ void Atlas::computeBounds()
|
||||
Atlas::Atlas(const QString &path, QObject *parent) : Map(parent)
|
||||
{
|
||||
_valid = false;
|
||||
_zoom = 0;
|
||||
|
||||
QFileInfo fi(path);
|
||||
_name = fi.fileName();
|
||||
@ -139,7 +140,6 @@ Atlas::Atlas(const QString &path, QObject *parent) : Map(parent)
|
||||
computeZooms();
|
||||
computeBounds();
|
||||
|
||||
_zoom = 0;
|
||||
_valid = true;
|
||||
}
|
||||
|
||||
|
@ -328,6 +328,7 @@ OfflineMap::OfflineMap(const QString &path, QObject *parent) : Map(parent)
|
||||
_valid = false;
|
||||
_img = 0;
|
||||
_projection = 0;
|
||||
_resolution = 0;
|
||||
|
||||
QFileInfo fi(path);
|
||||
_name = fi.fileName();
|
||||
|
Loading…
x
Reference in New Issue
Block a user