mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-30 18:33:39 +00:00
CProgressDialog: Make use of Qt 5 signals and slots
This commit is contained in:
parent
e7d5cacd0f
commit
694f4ce03b
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user