Fixed tests: some modification in runtime order
[mdictionary] / trunk / src / base / backbone / backbone.cpp
index b206fb0..97b8857 100644 (file)
@@ -44,7 +44,6 @@ public:
 
 void Backbone::init() {
    _interval = 250; //msec
-   dryRun = false;
 
    if(!_configPath.size())
        _configPath = QDir::homePath() + "/.mdictionary/mdictionary.config";
@@ -80,9 +79,10 @@ Backbone::Backbone(QString pluginPath, QString configPath, bool dry,
     _pluginPath = pluginPath;
     _configPath = configPath;
     _defaultConfigPath = configPath;
-    init();
+    dryRun = false;
     if(dry)
         dryRun = true;
+    init();
 }