mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-04 20:26:05 +00:00
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);
|
setWindowFlags(windowFlags() | Qt::MSWindowsFixedSizeDialogHint);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
connect(mpUI->CancelButton, SIGNAL(pressed()), this, SLOT(CancelButtonClicked()));
|
connect(mpUI->CancelButton, &QPushButton::pressed, this, &CProgressDialog::CancelButtonClicked);
|
||||||
}
|
}
|
||||||
|
|
||||||
CProgressDialog::~CProgressDialog() = default;
|
CProgressDialog::~CProgressDialog() = default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user