VirtualBox

Changeset 58849 in vbox


Ignore:
Timestamp:
Nov 25, 2015 12:56:17 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104328
Message:

FE/Qt: Qt5 migration (part 2): Font substitution stuff.

File:
1 edited

Legend:

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

    r58848 r58849  
    483483        bool isSubScaleable = fontDataBase.isScalable(subFamily);
    484484        if (isCurrentScaleable && !isSubScaleable)
     485#  if QT_VERSION >= 0x050000
     486            QFont::removeSubstitutions(currentFamily);
     487#  else /* QT_VERSION < 0x050000 */
    485488            QFont::removeSubstitution(currentFamily);
     489#  endif /* QT_VERSION < 0x050000 */
    486490# endif /* !Q_OS_SOLARIS */
    487491
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