From 92a5e0644e1cb6c25c2c5e96b39d2368f0f1be5b Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Thu, 28 Dec 2017 12:20:34 +0100 Subject: [PATCH] cleanup: Uninitialized pointer field CID: 208335 Mainly to silence Coverity, as I do not believe this caused any problem. Signed-off-by: Jan Mulder --- map-widget/qmlmapwidgethelper.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 *))); }