Replace accidental usages of QAbstractButton::pressed
This signal is not usually what you want, and creates an inconsistent experience. Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
5eb71fc6a9
commit
603ed22015
3 changed files with 5 additions and 5 deletions
|
@ -59,7 +59,7 @@ void SetupWizard::pageChanged(int id)
|
|||
{
|
||||
setButtonLayout({QWizard::CustomButton1, QWizard::Stretch, QWizard::BackButton, QWizard::NextButton, QWizard::FinishButton});
|
||||
auto customButton = button(QWizard::CustomButton1);
|
||||
connect(customButton, &QAbstractButton::pressed, [&](){
|
||||
connect(customButton, &QAbstractButton::clicked, [&](){
|
||||
auto basePagePtr = getCurrentBasePage();
|
||||
if(basePagePtr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue