VirtualBox

Changeset 26462 in vbox


Ignore:
Timestamp:
Feb 12, 2010 1:47:41 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: enable default buttons for the wizards

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIWizard.cpp

    r26460 r26462  
    3636QIWizard::QIWizard(QWidget *pParent) : QIWithRetranslateUI<QWizard>(pParent)
    3737{
     38#ifdef Q_WS_MAC
     39    /* I'm really not sure why there shouldn't be any default button on Mac OS
     40     * X. This prevents the using of Enter to jump to the next page. */
     41    setOptions(options() ^ QWizard::NoDefaultButton);
     42#endif /* Q_WS_MAC */
    3843}
    3944
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