Commit 33814411 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Remove unused "q" field

parent 42743a78
Pipeline #218650 failed with stage
in 12 minutes and 43 seconds
......@@ -32,10 +32,7 @@ static const quint32 s_version = 2;
class OutputManagementV2InterfacePrivate : public QtWaylandServer::kde_output_management_v2
{
public:
OutputManagementV2InterfacePrivate(OutputManagementV2Interface *_q, Display *display);
private:
OutputManagementV2Interface *q;
OutputManagementV2InterfacePrivate(Display *display);
protected:
void kde_output_management_v2_create_configuration(Resource *resource, uint32_t id) override;
......@@ -68,9 +65,8 @@ protected:
void kde_output_configuration_v2_set_primary_output(Resource *resource, struct ::wl_resource *output) override;
};
OutputManagementV2InterfacePrivate::OutputManagementV2InterfacePrivate(OutputManagementV2Interface *_q, Display *display)
OutputManagementV2InterfacePrivate::OutputManagementV2InterfacePrivate(Display *display)
: QtWaylandServer::kde_output_management_v2(*display, s_version)
, q(_q)
{
}
......@@ -86,7 +82,7 @@ void OutputManagementV2InterfacePrivate::kde_output_management_v2_create_configu
OutputManagementV2Interface::OutputManagementV2Interface(Display *display, QObject *parent)
: QObject(parent)
, d(new OutputManagementV2InterfacePrivate(this, display))
, d(new OutputManagementV2InterfacePrivate(display))
{
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment