QmlDesigner.formEditor: use pure virtuel instead of assert
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Fri, 16 Sep 2011 12:04:53 +0000 (14:04 +0200)
committerhjk <qthjk@ovi.com>
Fri, 16 Sep 2011 12:38:47 +0000 (14:38 +0200)
commitf184ced2e1bbacc244392fe97230bfd9cc07099d
treed592f1382573abf796716ced5cfd3369c766fff1
parent8ba4003c13c94a6700652ff8be00a62a02af0bad
QmlDesigner.formEditor: use pure virtuel instead of assert

Asserting because of unexpected mouse events is evil.

Task-number: QTCREATORBUG-6042
Change-Id: Idc21b1cb6bfebead4eab80f6526235164b3f8d54
Reviewed-on: http://codereview.qt-project.org/5090
Reviewed-by: hjk <qthjk@ovi.com>
12 files changed:
src/plugins/qmldesigner/components/formeditor/abstractformeditortool.cpp
src/plugins/qmldesigner/components/formeditor/abstractformeditortool.h
src/plugins/qmldesigner/components/formeditor/anchortool.cpp
src/plugins/qmldesigner/components/formeditor/anchortool.h
src/plugins/qmldesigner/components/formeditor/itemcreatortool.cpp
src/plugins/qmldesigner/components/formeditor/itemcreatortool.h
src/plugins/qmldesigner/components/formeditor/movetool.cpp
src/plugins/qmldesigner/components/formeditor/movetool.h
src/plugins/qmldesigner/components/formeditor/resizetool.cpp
src/plugins/qmldesigner/components/formeditor/resizetool.h
src/plugins/qmldesigner/components/formeditor/selectiontool.cpp
src/plugins/qmldesigner/components/formeditor/selectiontool.h