OSDN Git Service

QmlDesigner.qmlModelView: fixes adding imports
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Mon, 16 May 2011 14:19:21 +0000 (16:19 +0200)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>
Mon, 16 May 2011 14:20:09 +0000 (16:20 +0200)
commit4dcc0c2ada3fd11d4b621f470187ee1511bcdd7f
tree75b839fd52c50a4d8e2f2f46c8f371425c57371f
parent9f9bdd720138696c9f5298f87e90770f5d4defce
QmlDesigner.qmlModelView: fixes adding imports

We use requiredImport() and only add an import if it does
not exists before (even with alias).
src/plugins/qmldesigner/designercore/model/qmlmodelview.cpp