cleanup: Uninitialized pointer field

CID 208311

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-12-28 20:05:04 +01:00 committed by Dirk Hohndel
parent 9d1aff2972
commit 8634dcc393

View file

@ -28,6 +28,8 @@ MapWidget::MapWidget(QWidget *parent) : QQuickWidget(parent)
qmlRegisterType<MapLocationModel>("org.subsurfacedivelog.mobile", 1, 0, "MapLocationModel");
qmlRegisterType<MapLocation>("org.subsurfacedivelog.mobile", 1, 0, "MapLocation");
m_rootItem = Q_NULLPTR;
m_mapHelper = Q_NULLPTR;
setResizeMode(QQuickWidget::SizeRootObjectToView);
connect(this, &QQuickWidget::statusChanged, this, &MapWidget::doneLoading);
setSource(urlMapWidget);