VirtualBox

Ignore:
Timestamp:
May 16, 2014 3:34:46 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Mac OS X: HiDPI: Integrate network settings page icons.

File:
1 edited

Legend:

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

    r44528 r51280  
    3737    , mIsExpanded (false)
    3838{
    39     updateIcon();
     39    init();
    4040}
    4141
     
    4444    , mIsExpanded (false)
    4545{
    46     updateIcon();
     46    init();
    4747}
    4848
     
    5252    updateIcon();
    5353    QIRichToolButton::buttonClicked();
     54}
     55
     56void QIArrowButtonSwitch::init()
     57{
     58    /* Restrict icon size: */
     59    mButton->setIconSize(QSize(10, 10));
     60    /* And update icon finally: */
     61    updateIcon();
    5462}
    5563
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