forked from qt-creator/qt-creator
QmlDesigner: remove old QtQuick 1 code
Change-Id: I23d28f768647feee7f13942a1510dac2fd8d0043 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
@@ -445,8 +445,6 @@ QString PropertyEditorQmlBackend::fixTypeNameForPanes(const QString &typeName)
|
||||
|
||||
QString PropertyEditorQmlBackend::qmlFileName(const NodeMetaInfo &nodeInfo)
|
||||
{
|
||||
if (nodeInfo.typeName().split('.').last() == "QDeclarativeItem")
|
||||
return "QtQuick/ItemPane.qml";
|
||||
const QString fixedTypeName = fixTypeNameForPanes(nodeInfo.typeName());
|
||||
return fixedTypeName + QStringLiteral("Pane.qml");
|
||||
}
|
||||
|
Reference in New Issue
Block a user