From 694f4ce03baeb238959b2f0129a4e9c53a562a47 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 Jul 2020 07:00:50 -0400 Subject: [PATCH] CProgressDialog: Make use of Qt 5 signals and slots --- src/Editor/CProgressDialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/CProgressDialog.h b/src/Editor/CProgressDialog.h index fe107b11..2a7f0fba 100644 --- a/src/Editor/CProgressDialog.h +++ b/src/Editor/CProgressDialog.h @@ -58,7 +58,7 @@ protected: gpEdApp->SetEditorTicksEnabled(false); QFutureWatcher Watcher; - connect(&Watcher, SIGNAL(finished()), this, SLOT(FinishAndClose())); + connect(&Watcher, &QFutureWatcher::finished, this, &CProgressDialog::FinishAndClose); Watcher.setFuture(Future); exec();