VirtualBox

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


Ignore:
Timestamp:
Nov 1, 2013 1:10:46 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: MacOS X: Mavericks font fix.

File:
1 edited

Legend:

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

    r48950 r49364  
    359359#endif
    360360
    361 #ifdef QT_MAC_USE_COCOA
     361#ifdef Q_WS_MAC
     362        /* Mavericks font fix: */
     363        if (VBoxGlobal::osRelease() == MacOSXRelease_Mavericks)
     364            QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
     365# ifdef QT_MAC_USE_COCOA
    362366        /* Instantiate our NSApplication derivative before QApplication
    363367         * forces NSApplication to be instantiated. */
    364368        UICocoaApplication::instance();
    365 #endif /* QT_MAC_USE_COCOA */
     369# endif /* QT_MAC_USE_COCOA */
     370#endif /* Q_WS_MAC */
    366371
    367372        /* Install Qt console message handler: */
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