diff --git a/src/GUI/gearratiographitem.cpp b/src/GUI/gearratiographitem.cpp index 64a10d82..70d69216 100644 --- a/src/GUI/gearratiographitem.cpp +++ b/src/GUI/gearratiographitem.cpp @@ -3,7 +3,7 @@ #include "gearratiographitem.h" GearRatioGraphItem::GearRatioGraphItem(const Graph &graph, GraphType type, - QGraphicsItem *parent) : GraphItem(graph, type, parent) + QGraphicsItem *parent) : GraphItem(graph, type, parent), _top(NAN) { qreal val = NAN; diff --git a/src/map/wmsmap.cpp b/src/map/wmsmap.cpp index 1ffefeb5..efdb0c6b 100644 --- a/src/map/wmsmap.cpp +++ b/src/map/wmsmap.cpp @@ -102,7 +102,8 @@ bool WMSMap::loadWMS() } WMSMap::WMSMap(const QString &name, const WMS::Setup &setup, QObject *parent) - : Map(parent), _name(name), _setup(setup), _zoom(0), _valid(false) + : Map(parent), _name(name), _setup(setup), _tileLoader(0), _zoom(0), + _valid(false) { if (!QDir().mkpath(tilesDir())) { _errorString = "Error creating tiles dir"; diff --git a/src/map/wmtsmap.cpp b/src/map/wmtsmap.cpp index b1cd406c..8ddbf26f 100644 --- a/src/map/wmtsmap.cpp +++ b/src/map/wmtsmap.cpp @@ -36,7 +36,8 @@ bool WMTSMap::loadWMTS() } WMTSMap::WMTSMap(const QString &name, const WMTS::Setup &setup, QObject *parent) - : Map(parent), _name(name), _setup(setup), _zoom(0), _valid(false) + : Map(parent), _name(name), _setup(setup), _tileLoader(0), _zoom(0), + _valid(false) { if (!QDir().mkpath(tilesDir())) { _errorString = "Error creating tiles dir";