diff --git a/src/wayland/tools/generator.cpp b/src/wayland/tools/generator.cpp index 27683264d4..84630d3fc0 100644 --- a/src/wayland/tools/generator.cpp +++ b/src/wayland/tools/generator.cpp @@ -200,7 +200,7 @@ Interface::Interface() = default; Interface::Interface(const QXmlStreamAttributes &attributes) : m_name(attributes.value(QStringLiteral("name")).toString()) , m_version(attributes.value(QStringLiteral("version")).toUInt()) - , m_factory(Q_NULLPTR) + , m_factory(nullptr) { auto it = s_clientClassNameMapping.constFind(m_name); if (it != s_clientClassNameMapping.constEnd()) {