From 53df27b8b7333268ba8545ee30d8045fe64d655b Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 27 Feb 2013 18:32:32 +0100 Subject: [PATCH] config.qml is a pure model, search in config/ --- src/scriptengines/qml/plasmoid/configview.cpp | 2 +- src/shell/applets/testapplet/contents/{ui => config}/config.qml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/shell/applets/testapplet/contents/{ui => config}/config.qml (100%) diff --git a/src/scriptengines/qml/plasmoid/configview.cpp b/src/scriptengines/qml/plasmoid/configview.cpp index e6862551b..3d44fd64e 100644 --- a/src/scriptengines/qml/plasmoid/configview.cpp +++ b/src/scriptengines/qml/plasmoid/configview.cpp @@ -252,7 +252,7 @@ ConfigView::ConfigView(AppletInterface *interface, QWindow *parent) setResizeMode(QQuickView::SizeViewToRootObject); - QQmlComponent *component = new QQmlComponent(engine(), QUrl::fromLocalFile(m_appletInterface->applet()->package().filePath("ui", "config.qml")), this); + QQmlComponent *component = new QQmlComponent(engine(), QUrl::fromLocalFile(m_appletInterface->applet()->package().filePath("config", "config.qml")), this); QObject *object = component->create(engine()->rootContext()); m_configModel = qobject_cast(object); if (m_configModel) { diff --git a/src/shell/applets/testapplet/contents/ui/config.qml b/src/shell/applets/testapplet/contents/config/config.qml similarity index 100% rename from src/shell/applets/testapplet/contents/ui/config.qml rename to src/shell/applets/testapplet/contents/config/config.qml