CProgressDialog: Make use of Qt 5 signals and slots

This commit is contained in:
Lioncash 2020-06-28 22:10:39 -04:00
parent 626f67be18
commit 3203b1303c
1 changed files with 1 additions and 1 deletions

View File

@ -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;