swap deletion to avoid a rare crash

This commit is contained in:
Marco Martin 2011-11-15 13:52:53 +01:00
parent 9a0026969f
commit 4a10379637

View File

@ -100,8 +100,8 @@ DialogProxy::DialogProxy(QObject *parent)
DialogProxy::~DialogProxy()
{
delete m_dialog;
delete m_declarativeItemContainer;
delete m_dialog;
}
QGraphicsObject *DialogProxy::mainItem() const