diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-08-06 17:39:13 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-08-26 20:09:51 +0000 |
commit | fded035b1c808ece70cd49e27efd3f0e74f90ffc (patch) | |
tree | 7a3744ac2af803f9b423d132f37c074fdc264c8c /src/platformsupport | |
parent | 4073d3a10e6ea8faf893b5c6faba98a06a5851cc (diff) |
Make QPaintDevice::devicePixelRatio() return qreal
For historical reasons Qt 5 has:
int QPaintDevice::devicePixelRatio()
qreal QPaintDevice::devicePixelRatioF()
Change the int to qreal so that Qt 6 will have
qreal QPaintDevice::devicePixelRatio()
qreal QPaintDevice::devicePixelRatioF() [to-be-removed]
Change-Id: Ie904e02ec490cbcd2acb5dcecb193e9af4cb90f0
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/platformsupport')
0 files changed, 0 insertions, 0 deletions