diff --git a/src/Editor/CProgressDialog.h b/src/Editor/CProgressDialog.h index fe107b11..2a7f0fba 100644 --- a/src/Editor/CProgressDialog.h +++ b/src/Editor/CProgressDialog.h @@ -58,7 +58,7 @@ protected: gpEdApp->SetEditorTicksEnabled(false); QFutureWatcher Watcher; - connect(&Watcher, SIGNAL(finished()), this, SLOT(FinishAndClose())); + connect(&Watcher, &QFutureWatcher::finished, this, &CProgressDialog::FinishAndClose); Watcher.setFuture(Future); exec();