summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qmainwindowlayout.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2020-08-06 17:39:13 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-08-26 20:09:51 +0000
commitfded035b1c808ece70cd49e27efd3f0e74f90ffc (patch)
tree7a3744ac2af803f9b423d132f37c074fdc264c8c /src/widgets/widgets/qmainwindowlayout.cpp
parent4073d3a10e6ea8faf893b5c6faba98a06a5851cc (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/widgets/widgets/qmainwindowlayout.cpp')
0 files changed, 0 insertions, 0 deletions