diff --git a/src/wayland/outputchangeset_v2.cpp b/src/wayland/outputchangeset_v2.cpp index 52c81c77b7..4cef74ed6f 100644 --- a/src/wayland/outputchangeset_v2.cpp +++ b/src/wayland/outputchangeset_v2.cpp @@ -26,9 +26,8 @@ OutputChangeSetV2Private::OutputChangeSetV2Private(OutputDeviceV2Interface *outp { } -OutputChangeSetV2::OutputChangeSetV2(OutputDeviceV2Interface *outputdevice, QObject *parent) - : QObject(parent) - , d(new OutputChangeSetV2Private(outputdevice, this)) +OutputChangeSetV2::OutputChangeSetV2(OutputDeviceV2Interface *outputdevice) + : d(new OutputChangeSetV2Private(outputdevice, this)) { } diff --git a/src/wayland/outputchangeset_v2.h b/src/wayland/outputchangeset_v2.h index 497f274143..526a74435c 100644 --- a/src/wayland/outputchangeset_v2.h +++ b/src/wayland/outputchangeset_v2.h @@ -107,7 +107,7 @@ public: private: friend class OutputConfigurationV2Interface; - explicit OutputChangeSetV2(OutputDeviceV2Interface *outputdevice, QObject *parent = nullptr); + explicit OutputChangeSetV2(OutputDeviceV2Interface *outputdevice); std::unique_ptr d; };