From c46249bba0548406f4b2cccad73033e74afd3348 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 7 Apr 2021 18:27:35 +0300 Subject: [PATCH] Remove Q_NULLPTR usage This project requires C++17, which has the nullptr keyword. --- src/qwaylandlayershellintegration.cpp | 1 - src/qwaylandlayershellintegration_p.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/qwaylandlayershellintegration.cpp b/src/qwaylandlayershellintegration.cpp index 87d7acd..f8a8b95 100644 --- a/src/qwaylandlayershellintegration.cpp +++ b/src/qwaylandlayershellintegration.cpp @@ -15,7 +15,6 @@ namespace LayerShellQt { QWaylandLayerShellIntegration::QWaylandLayerShellIntegration() - : m_layerShell(Q_NULLPTR) { } diff --git a/src/qwaylandlayershellintegration_p.h b/src/qwaylandlayershellintegration_p.h index c22fad0..5150b22 100644 --- a/src/qwaylandlayershellintegration_p.h +++ b/src/qwaylandlayershellintegration_p.h @@ -28,7 +28,7 @@ public: private: static void registryLayer(void *data, struct wl_registry *registry, uint32_t id, const QString &interface, uint32_t version); - QWaylandLayerShell *m_layerShell; + QWaylandLayerShell *m_layerShell = nullptr; }; }