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) ...@@ -716,10 +716,10 @@ void PropertyEditor::modelAttached(Model *model)
m_locked = true; m_locked = true;
setupPane("Qt/Rectangle"); setupPane("QtQuick/Rectangle");
setupPane("Qt/Text"); setupPane("QtQuick/Text");
setupPane("Qt/TextInput"); setupPane("QtQuick/TextInput");
setupPane("Qt/TextEdit"); setupPane("QtQuick/TextEdit");
resetView(); resetView();
m_locked = false; m_locked = false;
...@@ -895,7 +895,7 @@ QUrl PropertyEditor::qmlForNode(const ModelNode &modelNode, QString &className) ...@@ -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 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