config.qml is a pure model, search in config/

This commit is contained in:
Marco Martin 2013-02-27 18:32:32 +01:00
parent 6458522bbc
commit 53df27b8b7
2 changed files with 1 additions and 1 deletions

View File

@ -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<ConfigModel *>(object);
if (m_configModel) {