VirtualBox

Ignore:
Timestamp:
Aug 2, 2017 3:36:51 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8900: UITabBar: Restore close-button look&feel under Win/X11 hosts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UITabBar.cpp

    r68237 r68253  
    332332            m_pButtonClose->setIconSize(QSize(iMetricCloseButton, iMetricCloseButton));
    333333            m_pButtonClose->setIcon(UIIconPool::iconSet(":/close_16px.png"));
     334#ifdef VBOX_WS_MAC
    334335            m_pButtonClose->setStyleSheet("QToolButton { border: 0px }");
     336#else
     337            m_pButtonClose->setAutoRaise(true);
     338#endif
    335339            connect(m_pButtonClose, &QToolButton::clicked, this, &UITabBarItem::sltCloseClicked);
    336340        }
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