Fixed problem with connects in DictManagerWidget.cpp. Fixed: remove warnings from...
[mdictionary] / src / mdictionary / gui / DictTypeSelectDialog.cpp
index 8e26c14..4ab853b 100644 (file)
@@ -39,11 +39,12 @@ DictTypeSelectDialog::DictTypeSelectDialog(QList<CommonDictInterface *> plugins,
 
 #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->setContextProperty("dictTypeModel", &model);
+    qmlView->setSource(QUrl::fromLocalFile("/usr/share/mdictionary/qml/DictTypeSelectDialog.qml"));
 
     _selectedPlugin = 0;