diff --git a/x11client.cpp b/x11client.cpp index 466b01116b..a4ea63194c 100644 --- a/x11client.cpp +++ b/x11client.cpp @@ -186,9 +186,6 @@ X11Client::~X11Client() Q_ASSERT(m_wrapper == XCB_WINDOW_NONE); Q_ASSERT(m_frame == XCB_WINDOW_NONE); Q_ASSERT(!check_active_modal); - for (auto it = m_connections.constBegin(); it != m_connections.constEnd(); ++it) { - disconnect(*it); - } } // Use destroyClient() or releaseWindow(), Client instances cannot be deleted directly diff --git a/x11client.h b/x11client.h index ba40f48856..aade6e3105 100644 --- a/x11client.h +++ b/x11client.h @@ -514,8 +514,6 @@ private: QTimer *m_focusOutTimer; - QList m_connections; - QMetaObject::Connection m_edgeRemoveConnection; QMetaObject::Connection m_edgeGeometryTrackingConnection;