Work on the dictionary selection dialog.
[mdictionary] / src / plugins / stardict / StarDictPlugin.cpp
index 50a7dd8..f45807a 100644 (file)
@@ -38,7 +38,7 @@ StarDictPlugin::StarDictPlugin(QObject *parent) : CommonDictInterface(parent),
 
 
     _settings->setValue("type","stardict");
-    _icon = QIcon("/usr/share/mdictionary/xdxf.png");
+    _icon = QIcon("/usr/share/mdictionary/stardict.png");
     _wordsCount = -1;
     stopped = false;
 
@@ -229,6 +229,8 @@ bool StarDictPlugin::getDictionaryInfo() {
         }
     }
 
+    _name = settings()->value("bookname");
+
     return true;
 }