OSDN Git Service

QmlDesigner: fixes crash
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Tue, 2 Nov 2010 10:17:59 +0000 (11:17 +0100)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>
Tue, 2 Nov 2010 10:18:22 +0000 (11:18 +0100)
commita4640e361f872fb16279f56764cead3471110f49
treeda66015920ffab1f54738b77e61c18015fd67c95
parentd7216e84ccf7b32118a6d67b775362f743e39aee
QmlDesigner: fixes crash

Deleting an items might have a side effect that turns
the qml code invalid. (e. g. alias properties)

We catch this an show a proper error message.

Task-number: QTCREATORBUG-2973
Reviewed-by: Kai Koehne
src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp