diff options
| author | Morten Sørvig <morten.sorvig@qt.io> | 2023-03-02 13:23:28 +0100 |
|---|---|---|
| committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2023-05-24 06:55:57 +0000 |
| commit | 433d67e767478ce946cd04d8ad4ff73051c14773 (patch) | |
| tree | 65098d72acfe1ddfee442c45177bbf0f95c68e92 /examples/opengl/qopenglwidget/bubble.cpp | |
| parent | 7367cba9eb39c5e70aaed8982db1113c7fce5813 (diff) | |
Make QOpenGLWidget work with QT_WIDGETS_HIGHDPI_DOWNSCALE
Get the DPR from QWidget::metric(), which has a code path
for handling the QT_WIDGETS_HIGHDPI_DOWNSCALE case.
Fixes: QTBUG-111105
Pick-to: 6.5
Change-Id: I821cbdf00423de211719173ae5c0af7b76594f60
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'examples/opengl/qopenglwidget/bubble.cpp')
0 files changed, 0 insertions, 0 deletions
