+ // get the options from the dialog
+ CompareOptions options;
+ options.settings_from_new = newSettingsRB->isChecked();
+
+ // init the compare object and start it
+ compare_ = new Compare(new_buffer_, old_buffer_, dest_buffer_, options);
+ connect(compare_, SIGNAL(error()), this, SLOT(error()));
+ connect(compare_, SIGNAL(finished(bool)), this, SLOT(finished(bool)));
+ connect(compare_, SIGNAL(progress(int)), this, SLOT(progress(int)));
+ connect(compare_, SIGNAL(progressMax(int)), this, SLOT(progressMax(int)));
+ connect(compare_, SIGNAL(statusMessage(QString)),
+ this, SLOT(setStatusMessage(QString)));
+ compare_->start(QThread::LowPriority);
+ return 1;