_history = new History(5, this);
}
-Backbone::Backbone(QString pluginPath, QString configPath, QObject *parent)
+Backbone::Backbone(QString pluginPath, QString configPath, bool dry,
+ QObject *parent)
: QObject(parent)
{
- init();
- dryRun = true;
_pluginPath = pluginPath;
_configPath = configPath;
_defaultConfigPath = configPath;
+ init();
+ if(dry)
+ dryRun = true;
}
void Backbone::dictUpdated() {
if(dryRun)
return;
+ qDebug() << "UPDATE";
QFileInfo file(QDir::toNativeSeparators(_configPath));
QDir confDir(file.dir());
if(!confDir.exists())