summaryrefslogtreecommitdiffstats
path: root/examples/wayland/custom-extension/client-common
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/custom-extension/client-common')
-rw-r--r--examples/wayland/custom-extension/client-common/customextension.cpp1
-rw-r--r--examples/wayland/custom-extension/client-common/customextension.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/wayland/custom-extension/client-common/customextension.cpp b/examples/wayland/custom-extension/client-common/customextension.cpp
index 41b4a30e9..90e1f4377 100644
--- a/examples/wayland/custom-extension/client-common/customextension.cpp
+++ b/examples/wayland/custom-extension/client-common/customextension.cpp
@@ -61,7 +61,6 @@ QT_BEGIN_NAMESPACE
CustomExtension::CustomExtension()
: QWaylandClientExtensionTemplate(/* Supported protocol version */ 1 )
- , m_activated(false)
{
connect(this, &CustomExtension::activeChanged, this, &CustomExtension::handleExtensionActive);
}
diff --git a/examples/wayland/custom-extension/client-common/customextension.h b/examples/wayland/custom-extension/client-common/customextension.h
index 003a5a008..5e48ea75e 100644
--- a/examples/wayland/custom-extension/client-common/customextension.h
+++ b/examples/wayland/custom-extension/client-common/customextension.h
@@ -93,7 +93,7 @@ private:
void sendWindowRegistration(QWindow *);
QList<QWindow *> m_windows;
- bool m_activated;
+ bool m_activated = false;
};
class CustomExtensionObject : public QWaylandClientExtensionTemplate<CustomExtensionObject>