VirtualBox

Changeset 87717 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Feb 11, 2021 8:26:33 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9532: Qt 5.15.2 migration: Force fusion style for Qt 5.15.2.

File:
1 edited

Legend:

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

    r87031 r87717  
    484484        /* Disable menu icons on MacOS X host: */
    485485        ::darwinDisableIconsInMenus();
     486
     487# if QT_VERSION >= QT_VERSION_CHECK(5, 15, 2)
     488        // WORKAROUND:
     489        // Unable to detect fusion if app
     490        // built with SDK less than 10.14
     491        a.setStyle("fusion");
     492# endif
    486493#endif /* VBOX_WS_MAC */
    487494
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