summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoascreen.mm
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2018-09-25 12:20:37 +0200
committerLiang Qi <liang.qi@qt.io>2018-11-11 09:10:05 +0000
commit8802826de6d8a87ad6f29b98eff1eb36964c3e60 (patch)
tree4d3eb7c9249063e6c11f5ed85359fe5cb9f7ad97 /src/plugins/platforms/cocoa/qcocoascreen.mm
parentfbbe8aba9d70a3c13d1cd7797eb4dbbd1f05ade5 (diff)
Make grabWindow return pixmap with correct dpr
The devicePixelRatio on the returned pixmap should be the product of the Qt and platform scale factors. This handles the corner case of setting QT_SCALE_FACTOR on macOS with a high-dpi display. Change-Id: I3600165d47c03c4e043bcc5e375932cc3fc0c544 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoascreen.mm')
0 files changed, 0 insertions, 0 deletions