OSDN Git Service

QmlDesigner.rewriter: crash fix for Flipable
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Tue, 23 Nov 2010 11:14:48 +0000 (12:14 +0100)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>
Tue, 23 Nov 2010 11:16:17 +0000 (12:16 +0100)
commit84515448e8d137a6c5218c27bfee84d5241cb327
treef9108f7b8cc84739660264d3ea7c74b46b218f64
parent7e48a3a314bb673aa1dbb00585aaa8d91ebe674a
QmlDesigner.rewriter: crash fix for Flipable

Removing a property from a Flipabke back or front property
resulted in a crash, because the offset of UiObjectBinding
was not handled correctly.
The left hand side of the binding is not part of the node anymore.

Reviewed-by: Kai Koehne
src/plugins/qmldesigner/designercore/filemanager/removepropertyvisitor.cpp