diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-12-28 12:20:34 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2017-12-28 17:30:25 +0100 |
commit | 92a5e0644e1cb6c25c2c5e96b39d2368f0f1be5b (patch) | |
tree | 8b5a74a2b3d32438bd4bab5c9864fa8d17cb647a /map-widget/qmlmapwidgethelper.cpp | |
parent | eabba1f07165ce0dc1204b4f0ec2c6ef9fd7a1ab (diff) | |
download | subsurface-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.cpp | 3 |
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 *))); } |