wayland: Remove parent arg in OutputChangeSetV2 constructor

This commit is contained in:
Vlad Zahorodnii 2022-08-16 13:13:40 +03:00
parent 9208fb9926
commit 42bb455b06
2 changed files with 3 additions and 4 deletions

View file

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

View file

@ -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;
};