VirtualBox

Changeset 90258 in vbox


Ignore:
Timestamp:
Jul 20, 2021 11:52:29 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145797
Message:

FE/Qt: bugref:10003: Bug fix for r144622; Wizard parent isn't always a top-level window; We need to be sure in that thing.

File:
1 edited

Legend:

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

    r89277 r90258  
    548548    QPixmap pixWatermarkNew = QPixmap::fromImage(imgWatermarkNew);
    549549    /* For HiDPI support parent-widget's device pixel ratio is to be taken into account: */
    550     const double dRatio = parentWidget()->windowHandle()->devicePixelRatio();
     550    const double dRatio = parentWidget()->window()->windowHandle()->devicePixelRatio();
    551551    pixWatermarkNew.setDevicePixelRatio(dRatio);
    552552    /* Assign watermark finally: */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette