From 3203b1303c59ebe737dfd850556adb849dc628a7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 28 Jun 2020 22:10:39 -0400 Subject: [PATCH] CProgressDialog: Make use of Qt 5 signals and slots --- src/Editor/CProgressDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/CProgressDialog.cpp b/src/Editor/CProgressDialog.cpp index 0f53e0c1..7f1bbcaf 100644 --- a/src/Editor/CProgressDialog.cpp +++ b/src/Editor/CProgressDialog.cpp @@ -32,7 +32,7 @@ CProgressDialog::CProgressDialog(QString OperationName, bool UseBusyIndicator, b setWindowFlags(windowFlags() | Qt::MSWindowsFixedSizeDialogHint); #endif - connect(mpUI->CancelButton, SIGNAL(pressed()), this, SLOT(CancelButtonClicked())); + connect(mpUI->CancelButton, &QPushButton::pressed, this, &CProgressDialog::CancelButtonClicked); } CProgressDialog::~CProgressDialog() = default;