wayland: Remove parent arg in OutputChangeSetV2 constructor

master
Vlad Zahorodnii 2 years ago
parent 9208fb9926
commit 42bb455b06

@ -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))
{
}

@ -107,7 +107,7 @@ public:
private:
friend class OutputConfigurationV2Interface;
explicit OutputChangeSetV2(OutputDeviceV2Interface *outputdevice, QObject *parent = nullptr);
explicit OutputChangeSetV2(OutputDeviceV2Interface *outputdevice);
std::unique_ptr<OutputChangeSetV2Private> d;
};

Loading…
Cancel
Save