Changeset 90258 in vbox
- Timestamp:
- Jul 20, 2021 11:52:29 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145797
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/UIWizard.cpp
r89277 r90258 548 548 QPixmap pixWatermarkNew = QPixmap::fromImage(imgWatermarkNew); 549 549 /* For HiDPI support parent-widget's device pixel ratio is to be taken into account: */ 550 const double dRatio = parentWidget()->window Handle()->devicePixelRatio();550 const double dRatio = parentWidget()->window()->windowHandle()->devicePixelRatio(); 551 551 pixWatermarkNew.setDevicePixelRatio(dRatio); 552 552 /* Assign watermark finally: */
Note:
See TracChangeset
for help on using the changeset viewer.