Fix window decorations being leaked.
Change-Id: If0483f5e81a033b275ddc14eb1e44ff82fa1ce65 Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
This commit is contained in:
parent
8975683c37
commit
9ac0da7c31
@ -130,6 +130,8 @@ QWaylandWindow::QWaylandWindow(QWindow *window)
|
||||
|
||||
QWaylandWindow::~QWaylandWindow()
|
||||
{
|
||||
delete mWindowDecoration;
|
||||
|
||||
if (isInitialized()) {
|
||||
delete mShellSurface;
|
||||
destroy();
|
||||
|
Loading…
x
Reference in New Issue
Block a user