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);
|
gpEdApp->SetEditorTicksEnabled(false);
|
||||||
|
|
||||||
QFutureWatcher<RetType> Watcher;
|
QFutureWatcher<RetType> Watcher;
|
||||||
connect(&Watcher, SIGNAL(finished()), this, SLOT(FinishAndClose()));
|
connect(&Watcher, &QFutureWatcher<RetType>::finished, this, &CProgressDialog::FinishAndClose);
|
||||||
Watcher.setFuture(Future);
|
Watcher.setFuture(Future);
|
||||||
exec();
|
exec();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue