From 4a10379637b7d3d3003a70c8ccac88626b1ceb29 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 15 Nov 2011 13:52:53 +0100 Subject: [PATCH] swap deletion to avoid a rare crash --- declarativeimports/core/dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/declarativeimports/core/dialog.cpp b/declarativeimports/core/dialog.cpp index 45fb30413..57e9adecd 100644 --- a/declarativeimports/core/dialog.cpp +++ b/declarativeimports/core/dialog.cpp @@ -100,8 +100,8 @@ DialogProxy::DialogProxy(QObject *parent) DialogProxy::~DialogProxy() { - delete m_dialog; delete m_declarativeItemContainer; + delete m_dialog; } QGraphicsObject *DialogProxy::mainItem() const