Added XdxfDictDialog to XdxfPlugin
[mdictionary] / trunk / src / plugins / xdxf / src / XdxfPlugin / xdxfplugin.cpp
index 78a3b19..34d6d22 100644 (file)
@@ -12,6 +12,7 @@ XdxfPlugin::XdxfPlugin(QObject *parent) : CommonDictInterface(parent),
     path="dict.xdxf";
     stopped = false;
     _settings = new Settings();
+    _dictDialog = new XdxfDictDialog(this);
 }
 
 QString XdxfPlugin::langFrom() const {
@@ -116,7 +117,7 @@ void XdxfPlugin::stop() {
 }
 
 DictDialog* XdxfPlugin::dictDialog() {
-     return NULL;
+     return _dictDialog;
 }