summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2013-03-01 12:28:03 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-26 21:44:15 +0100
commitd616915b0ab346c7e3e6944605e5822afd743f73 (patch)
treead41ece64eb27a525d9d09efcaf102fc63ee419a /qmake
parent491dcbfac8da80bc573ba90959a3d610a55db4d0 (diff)
Support high-dpi images.
When Qt::AA_UseHighDPIImages is set images and pixmaps may be of the high-dpi type. Account for this when calculating layout sizes by clamping the size or dividing by devicePixelRatio() to go from device pixels to device-independent pixels. Change-Id: I7b7f4c36ebd83d72ecdf6fbe0ae20e20ed6540bb Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions