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…
Reference in New Issue