QmlDesigner.Rewriter: Show error for wrong code model
authorThomas Hartmann <Thomas.Hartmann@digia.com>
Wed, 13 Nov 2013 16:22:29 +0000 (17:22 +0100)
committerThomas Hartmann <Thomas.Hartmann@digia.com>
Thu, 14 Nov 2013 09:03:22 +0000 (10:03 +0100)
commite2d24a8b55d937e3ec7329e18c794d018d07266b
tree98f99f81db2d5a5b97a3a151549af059c57cd928
parentf4aa51565b972f7556d7ab983da62e2c0a05c117
QmlDesigner.Rewriter: Show error for wrong code model

If we use a QtQuick 1 code model for Qt Quick 2 an error is shown.

Task-number: QTCREATORBUG-10763
Task-number: QTCREATORBUG-10741
Change-Id: I43e824e12789d824d8e4c8f94725c7c4b0f178ec
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp