VirtualBox

Ignore:
Timestamp:
Sep 21, 2016 4:30:36 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6899: Accessibility support (step 48): Selector UI: Seems there is no more need in manual OSX toolbar updates, probably Qt5 had fixed that issue. This also fixing the flickering each time toolbar being manually updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r63928 r63930  
    11461146    sltHandleChooserPaneIndexChange();
    11471147
    1148 #ifdef VBOX_WS_MAC
     1148#if defined(VBOX_WS_MAC) && QT_VERSION < 0x050000
    11491149    /* Avoid bug in Qt Cocoa which results in showing a "more arrow" on size-hint changes: */
    11501150    m_pToolBar->updateLayout();
    1151 #endif /* VBOX_WS_MAC */
     1151#endif
    11521152}
    11531153
     
    17811781    m_pToolBar->addWidget(pSpace);
    17821782
    1783 #ifdef VBOX_WS_MAC
    1784     /* Update toolbar on Mac OS X: */
     1783#if defined(VBOX_WS_MAC) && QT_VERSION < 0x050000
     1784    /* Avoid bug in Qt Cocoa which results in showing a "more arrow" on size-hint changes: */
    17851785    m_pToolBar->updateLayout();
    1786 #endif /* VBOX_WS_MAC */
     1786#endif
    17871787
    17881788    /* Prepare graphics VM list: */
     
    21342134    actionPool()->action(UIActionIndexST_M_Machine_T_Pause)->blockSignals(false);
    21352135
    2136 #ifdef VBOX_WS_MAC
     2136#if defined(VBOX_WS_MAC) && QT_VERSION < 0x050000
    21372137    /* Avoid bug in Qt Cocoa which results in showing a "more arrow" on size-hint changes: */
    21382138    m_pToolBar->updateLayout();
    2139 #endif /* VBOX_WS_MAC */
     2139#endif
    21402140}
    21412141
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