summaryrefslogtreecommitdiffstats
path: root/map-widget/qmlmapwidgethelper.cpp
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-12-28 12:20:34 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2017-12-28 17:30:25 +0100
commit92a5e0644e1cb6c25c2c5e96b39d2368f0f1be5b (patch)
tree8b5a74a2b3d32438bd4bab5c9864fa8d17cb647a /map-widget/qmlmapwidgethelper.cpp
parenteabba1f07165ce0dc1204b4f0ec2c6ef9fd7a1ab (diff)
downloadsubsurface-92a5e0644e1cb6c25c2c5e96b39d2368f0f1be5b.tar.gz
cleanup: Uninitialized pointer field
CID: 208335 Mainly to silence Coverity, as I do not believe this caused any problem. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'map-widget/qmlmapwidgethelper.cpp')
-rw-r--r--map-widget/qmlmapwidgethelper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/map-widget/qmlmapwidgethelper.cpp b/map-widget/qmlmapwidgethelper.cpp
index c652520bc..7e2caf66b 100644
--- a/map-widget/qmlmapwidgethelper.cpp
+++ b/map-widget/qmlmapwidgethelper.cpp
@@ -17,6 +17,9 @@
MapWidgetHelper::MapWidgetHelper(QObject *parent) : QObject(parent)
{
m_mapLocationModel = new MapLocationModel(this);
+ m_smallCircleRadius = SMALL_CIRCLE_RADIUS_PX;
+ m_map = nullptr;
+ m_editMode = false;
connect(m_mapLocationModel, SIGNAL(selectedLocationChanged(MapLocation *)),
this, SLOT(selectedLocationChanged(MapLocation *)));
}