Commit 5e571b57 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: also assume Qt Quick 2.0

Change-Id: I93fc12690a3a0e3223992551116d36fdaa2699d4
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 262f67a0
...@@ -116,8 +116,7 @@ QmlItemNode QmlModelView::createQmlItemNodeFromImage(const QString &imageName, c ...@@ -116,8 +116,7 @@ QmlItemNode QmlModelView::createQmlItemNodeFromImage(const QString &imageName, c
foreach (const Import &import, model()->imports()) { foreach (const Import &import, model()->imports()) {
if (import.isLibraryImport() if (import.isLibraryImport()
&& import.url() == newImport.url() && import.url() == newImport.url()) {
&& import.version() == newImport.version()) {
// reuse this import // reuse this import
newImport = import; newImport = import;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment