#ifndef Q_WS_MAEMO_5
qmlView = new QDeclarativeView(this);
- qmlView->setSource(QUrl::fromLocalFile("/usr/share/mdictionary/qml/DictTypeSelectDialog.qml"));
- ctxt = qmlView->rootContext();
-// model = new DictTypeModel(plugins, this);
+ ctxt = qmlView->rootContext();
ctxt->setContextProperty("dictTypeModel", &model);
+ qmlView->setSource(QUrl::fromLocalFile("/usr/share/mdictionary/qml/DictTypeSelectDialog.qml"));
+
_selectedPlugin = 0;
QGraphicsObject *rootObject = qmlView->rootObject();