mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 05:27:41 +00:00
CProgressDialog: Make use of Qt 5 signals and slots
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user