diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-04-01 23:11:19 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-02 07:34:46 -0700 |
commit | 30230dce1027a6a0d0bad5e09581e6130cc78a62 (patch) | |
tree | a6549df68f71e55f9a91505b1a0c053e306e63db /desktop-widgets/mapwidget.cpp | |
parent | 30746e5d3f6b20a0603359f55f232fb082362f39 (diff) | |
download | subsurface-30230dce1027a6a0d0bad5e09581e6130cc78a62.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mapwidget.cpp')
-rw-r--r-- | desktop-widgets/mapwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |