Commit 3d3b8b6b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Make sure we don't leak interfaces

Properly set the parent
parent e4a6721a
......@@ -362,7 +362,7 @@ QList<TextInputV2InterfacePrivate::Resource *> TextInputV2InterfacePrivate::text
}
TextInputV2Interface::TextInputV2Interface(SeatInterface *seat)
: QObject()
: QObject(seat)
, d(new TextInputV2InterfacePrivate(seat, this))
{
}
......
......@@ -337,7 +337,7 @@ void TextInputV3InterfacePrivate::defaultPending()
}
TextInputV3Interface::TextInputV3Interface(SeatInterface *seat)
: QObject()
: QObject(seat)
, d(new TextInputV3InterfacePrivate(seat, this))
{
}
......
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