QmlDesigner: remove old QtQuick 1 code

Change-Id: I23d28f768647feee7f13942a1510dac2fd8d0043
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
Tim Jenssen
2016-04-05 15:58:14 +02:00
parent 4af9cad3dc
commit cc1c2b7901

View File

@@ -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");
}