fix bug (google dictionary will save in settings)
[mdictionary] / trunk / src / plugins / google / src / GooglePlugin.cpp
index d62d6ed..5061e19 100644 (file)
@@ -36,6 +36,7 @@ GooglePlugin::GooglePlugin(QObject *parent): CommonDictInterface(parent),
     _settings->setValue("connection_acepted","true");
     _dictDialog = new GoogleDictDialog(this,this);
     _icon = QIcon(":/icons/drawing.png");
+    _hash=123456;
 
     stopped = false;
     languages=initLanguages();
@@ -115,7 +116,7 @@ uint GooglePlugin::hash() const {
 }
 
 
-void GooglePlugin::setHash(uint) {
+void GooglePlugin::setHash(uint _hash) {
     this->_hash=_hash;
 }