diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2017-02-16 13:32:01 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2017-02-24 10:40:12 +0000 |
commit | bb1acc24587ebdecc4051ef4b573ef32cfb8a8c5 (patch) | |
tree | 0665a2676223f8c662e73d770f5ebe6da8b15209 /tools/qmlimportscanner | |
parent | dca1f953264a373cbbe42adccb93fea84b96af51 (diff) |
QQuickImage: take DPI into account for implicit and painted sizes
As an example, an @2x image will report an implicit size that is twice
as large as it should be when its fillMode is set to PreserveAspectFit.
This commit adds code that was likely missed in 63fb30eb.
Change-Id: I38cfdf3a429726639209c88dfb38eebb0b9ff162
Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'tools/qmlimportscanner')
0 files changed, 0 insertions, 0 deletions