summaryrefslogtreecommitdiffstats
path: root/examples/wayland/minimal-cpp/compositor.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/minimal-cpp/compositor.h')
-rw-r--r--examples/wayland/minimal-cpp/compositor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/minimal-cpp/compositor.h b/examples/wayland/minimal-cpp/compositor.h
index d20ccb3c9..76af25ecb 100644
--- a/examples/wayland/minimal-cpp/compositor.h
+++ b/examples/wayland/minimal-cpp/compositor.h
@@ -64,7 +64,7 @@ class View : public QWaylandView
{
Q_OBJECT
public:
- View() : m_texture(0) {}
+ View() : m_texture(nullptr) {}
QOpenGLTexture *getTexture();
bool isCursor() const;
private: