Changeset 101509 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 19, 2023 12:46:22 PM (16 months ago)
- svn:sync-xref-src-repo-rev:
- 159583
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp
r101508 r101509 767 767 #if 1 768 768 QFont font = qApp->font(); 769 /* Set font' size wrt. @p pixmap height : */770 font.setPixelSize(0.31 * pixmap. rect().height());769 /* Set font' size wrt. @p pixmap height/dpr: */ 770 font.setPixelSize(0.31 * pixmap.height() / pixmap.devicePixelRatio()); 771 771 font.setBold(true); 772 772 QPainter painter(&pixmap);
Note:
See TracChangeset
for help on using the changeset viewer.