Commit 685ae6bc authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.propertyEditor: cache QtQuick items instead of Qt

Fixes caching for Qt Quick items.
Also the emptyPane is found again.

Reviewed-by: Kai Koehne
parent ed01ffd3
......@@ -716,10 +716,10 @@ void PropertyEditor::modelAttached(Model *model)
m_locked = true;
setupPane("Qt/Rectangle");
setupPane("Qt/Text");
setupPane("Qt/TextInput");
setupPane("Qt/TextEdit");
setupPane("QtQuick/Rectangle");
setupPane("QtQuick/Text");
setupPane("QtQuick/TextInput");
setupPane("QtQuick/TextEdit");
resetView();
m_locked = false;
......@@ -895,7 +895,7 @@ QUrl PropertyEditor::qmlForNode(const ModelNode &modelNode, QString &className)
}
}
}
return fileToUrl(QDir(m_qmlDir).filePath("Qt/emptyPane.qml"));
return fileToUrl(QDir(m_qmlDir).filePath("QtQuick/emptyPane.qml"));
}
QString PropertyEditor::locateQmlFile(const QString &relativePath) const
......
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