diff --git a/src/Dialog_Progress.cc b/src/Dialog_Progress.cc index 8c328b5c..90f1a97b 100644 --- a/src/Dialog_Progress.cc +++ b/src/Dialog_Progress.cc @@ -339,7 +339,7 @@ void Dialog_Progress::on_cancel() sigc::mem_fun(*this, &Dialog_Progress::cancel_timeout), 1000 ); } else cancelbutton->set_label( _("Force Cancel") ); - operations[t]->operation_detail.signal_cancel( cancel ); + operations[t]->operation_detail.signal_cancel.emit( cancel ); cancel = true; } } diff --git a/src/OperationDetail.cc b/src/OperationDetail.cc index b73a1fdb..3b9ac8cf 100644 --- a/src/OperationDetail.cc +++ b/src/OperationDetail.cc @@ -190,7 +190,7 @@ void OperationDetail::cancel( bool force ) cancelflag = 2; else cancelflag = 1; - signal_cancel(force); + signal_cancel.emit( force ); } ProgressBar & OperationDetail::get_progressbar() const