From 30230dce1027a6a0d0bad5e09581e6130cc78a62 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 1 Apr 2019 23:11:19 +0200 Subject: Cleanup: remove all Q_NULLPTR instances It expands to nullptr anyway and is inconsitent with the rest of the code. Let's remove this anachronism. Signed-off-by: Berthold Stoeger --- desktop-widgets/mapwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop-widgets/mapwidget.cpp') diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp index ac90c577d..3d2abf0b2 100644 --- a/desktop-widgets/mapwidget.cpp +++ b/desktop-widgets/mapwidget.cpp @@ -24,8 +24,8 @@ MapWidget *MapWidget::m_instance = NULL; MapWidget::MapWidget(QWidget *parent) : QQuickWidget(parent) { - m_rootItem = Q_NULLPTR; - m_mapHelper = Q_NULLPTR; + m_rootItem = nullptr; + m_mapHelper = nullptr; setResizeMode(QQuickWidget::SizeRootObjectToView); connect(this, &QQuickWidget::statusChanged, this, &MapWidget::doneLoading); setSource(urlMapWidget); -- cgit v1.2.3-70-g09d2