CProgressDialog: Make use of Qt 5 signals and slots

This commit is contained in:
Lioncash 2020-07-03 07:00:50 -04:00
parent e7d5cacd0f
commit 694f4ce03b
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ protected:
gpEdApp->SetEditorTicksEnabled(false);
QFutureWatcher<RetType> Watcher;
connect(&Watcher, SIGNAL(finished()), this, SLOT(FinishAndClose()));
connect(&Watcher, &QFutureWatcher<RetType>::finished, this, &CProgressDialog::FinishAndClose);
Watcher.setFuture(Future);
exec();