VirtualBox

Changeset 92041 in vbox for trunk


Ignore:
Timestamp:
Oct 25, 2021 3:04:20 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9996: UINativeWizard: Replace pressed signals with clicked, pressed event is too leaky for the case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/UINativeWizard.cpp

    r92035 r92041  
    536536                if (wizardButton(WizardButtonType_Help))
    537537                {
    538                     connect(wizardButton(WizardButtonType_Help), &QPushButton::pressed,
     538                    connect(wizardButton(WizardButtonType_Help), &QPushButton::clicked,
    539539                            &(msgCenter()), &UIMessageCenter::sltHandleHelpRequest);
    540540                    wizardButton(WizardButtonType_Help)->setShortcut(QKeySequence::HelpContents);
    541541                    uiCommon().setHelpKeyword(wizardButton(WizardButtonType_Help), m_strHelpHashtag);
    542542                }
    543                 connect(wizardButton(WizardButtonType_Expert), &QPushButton::pressed,
     543                connect(wizardButton(WizardButtonType_Expert), &QPushButton::clicked,
    544544                        this, &UINativeWizard::sltExpert);
    545                 connect(wizardButton(WizardButtonType_Back), &QPushButton::pressed,
     545                connect(wizardButton(WizardButtonType_Back), &QPushButton::clicked,
    546546                        this, &UINativeWizard::sltPrevious);
    547                 connect(wizardButton(WizardButtonType_Next), &QPushButton::pressed,
     547                connect(wizardButton(WizardButtonType_Next), &QPushButton::clicked,
    548548                        this, &UINativeWizard::sltNext);
    549                 connect(wizardButton(WizardButtonType_Cancel), &QPushButton::pressed,
     549                connect(wizardButton(WizardButtonType_Cancel), &QPushButton::clicked,
    550550                        this, &UINativeWizard::reject);
    551551            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette