Commit cc1c2b79 authored by Tim Jenssen's avatar Tim Jenssen

QmlDesigner: remove old QtQuick 1 code

Change-Id: I23d28f768647feee7f13942a1510dac2fd8d0043
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@theqtcompany.com>
parent 4af9cad3
......@@ -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");
}
......
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