summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2013-10-28 16:45:40 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-06 14:21:56 +0100
commit762c3d87de67ec8e8df8b810065ca5fe86db87a9 (patch)
tree94ea4fcc50164d1e24b6532fe9bc38dddde6cbeb /src/android
parent542e266f8806517e2a4151a79570cb8f5ade0ef2 (diff)
Don't hardcode devicePixelRatio to 1.
This code path can and will be hit during app startup, and can result in low-resolution images being used on high-dpi systems. Use qApp->devicePixelRatio() instead, which is more likely to be correct. Change-Id: Ic881cfedd8e962037d2d4af4a1242f590d56c194 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions