qt6-bb10/tests/auto/gui/image
Morten Johan Sørvig a9458a1755 Clean up logical dpi for QImage.
Revert to the pre highdpi-patch behaviour.

Before, both physical and logical DPI would be based
on the dpmx/dpmy variables, which could be changed
with setDotsPerMeter(). The highdpi patch introduced
separate ldpmx/ldpmy variables, which were not
changed by setDotsPerMeter().

This broke when loading images: setDotsPerMeter
would be called but the logical dpi would not change.

Remove ldpmx/ldpmy. Keep scaling the physical dpi
by the devicePixelRatio, which will be set to 1 by
default.

Task-number: QTBUG-29187
Change-Id: I0d6f5f3b8efae5fb1adc0a50b22a5da78324a282
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
2013-01-31 10:39:38 +01:00
..
qicoimageformat Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qicon Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimage Clean up logical dpi for QImage. 2013-01-31 10:39:38 +01:00
qimageiohandler Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimagereader Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimagewriter Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qmovie Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpicture Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmap Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmapcache Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
image.pro QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00