VirtualBox

Changeset 94022 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 1, 2022 10:34:36 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: qt6: QFond::setWeight has changed from a 0-100 range to a 0-1000 one and a handful of useful enum values have been defined under QFont. bugref:9898

File:
1 edited

Legend:

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

    r93115 r94022  
    747747                fnt.setPointSize(11);
    748748                fnt.setBold(true);
     749#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
     750                fnt.setWeight(QFont::ExtraBold);
     751#else
    749752                fnt.setWeight(75);
     753#endif
    750754                m_pLabelTitle->setFont(fnt);
    751755                m_pLabelTitle->setAutoFillBackground(true);
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