From 42bb455b06910cfed1e0aa36c4414479e2d7332a Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 16 Aug 2022 13:13:40 +0300 Subject: [PATCH] wayland: Remove parent arg in OutputChangeSetV2 constructor --- src/wayland/outputchangeset_v2.cpp | 5 ++--- src/wayland/outputchangeset_v2.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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; };