1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Made coverity happy

This commit is contained in:
Martin Tůma 2019-03-05 21:44:36 +01:00
parent d307ef4b98
commit efca589f01
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ POI::POI(QObject *parent) : QObject(parent)
{ {
_errorLine = 0; _errorLine = 0;
_radius = 1000; _radius = 1000;
_useDEM = false;
} }
bool POI::loadFile(const QString &path, bool dir) bool POI::loadFile(const QString &path, bool dir)

View File

@ -10,7 +10,7 @@
class Tile class Tile
{ {
public: public:
Tile() {} Tile() : _scaledSize(0) {}
Tile(const QPoint &xy, const QVariant &zoom, int scaledSize = 0, Tile(const QPoint &xy, const QVariant &zoom, int scaledSize = 0,
const RectD &bbox = RectD()) : _xy(xy), _zoom(zoom), const RectD &bbox = RectD()) : _xy(xy), _zoom(zoom),
_scaledSize(scaledSize), _bbox(bbox) {} _scaledSize(scaledSize), _bbox(bbox) {}