Make sure we don't leak interfaces
Properly set the parent
This commit is contained in:
parent
b2d648df5d
commit
c9c1c3ae0d
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue