fic smal bug
[mdictionary] / trunk / src / plugins / google / src / GooglePlugin.cpp
index ff2228b..f354b95 100644 (file)
@@ -33,7 +33,7 @@ GooglePlugin::GooglePlugin(QObject *parent): CommonDictInterface(parent),
     _settings->setValue("lang_to","");
     _settings->setValue("lang_from","");
     _settings->setValue("type","google");
-    _settings->setValue("connection_acepted","true");
+    _settings->setValue("connection_accepted","true");
     _dictDialog = new GoogleDictDialog(this,this);
     _icon = QIcon(":/icons/drawing.png");
     _hash=123456;
@@ -98,13 +98,13 @@ bool GooglePlugin::isAvailable() const {
 
 void GooglePlugin::setConnectionAccept(QString connectionAcepted) {
     if(connectionAcepted=="true")
-        _settings->setValue("connection_acepted","true");
+        _settings->setValue("connection_accepted","true");
     else
-        _settings->setValue("connection_acepted","false");
+        _settings->setValue("connection_accepted","false");
 }
 
 bool GooglePlugin::isConnectionAccept() const {
-    if(_settings->value("connection_acepted")=="true")
+    if(_settings->value("connection_accepted")=="true")
         return true;
     else
         return false;