qt5base-lts/tests/auto
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
..
bic/data test: Add bic data for linux-gcc-amd64 2013-01-29 23:34:24 +01:00
cmake Doc: Fix module name format 2013-01-25 17:27:44 +01:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
corelib Doc: Fix references to Qt Test 2013-01-30 01:35:06 +01:00
dbus Doc: Fix module name format 2013-01-25 17:27:44 +01:00
gui Clean up logical dpi for QImage. 2013-01-31 10:39:38 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network QSslSocket tests: use qt-project.org as test server instd of codereview 2013-01-29 13:00:38 +01:00
opengl Doc: Fix module name format 2013-01-25 17:27:44 +01:00
other Fix minor typos in docs, printed messages & comments 2013-01-28 18:12:41 +01:00
printsupport Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testlib Doc: Fix module name format 2013-01-25 17:27:44 +01:00
tools Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
widgets Doc: Fix references to Qt Test 2013-01-30 01:35:06 +01:00
xml Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
auto.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
network-settings.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00