CProgressDialog: Make use of Qt 5 signals and slots
This commit is contained in:
parent
626f67be18
commit
3203b1303c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue