diff --git a/scene.cpp b/scene.cpp index 11714a846c..8a83a85bf9 100644 --- a/scene.cpp +++ b/scene.cpp @@ -1040,6 +1040,8 @@ WindowPixmap::WindowPixmap(const QPointer WindowPixmap::~WindowPixmap() { + qDeleteAll(m_children); + if (m_pixmap != XCB_WINDOW_NONE) { xcb_free_pixmap(connection(), m_pixmap); }