summaryrefslogtreecommitdiffstats
path: root/src/testlib/qsignalspy.h
diff options
context:
space:
mode:
authorVladimir Belyavsky <belyavskyv@gmail.com>2024-03-14 20:06:36 +0300
committerVladimir Belyavsky <belyavskyv@gmail.com>2024-03-19 17:22:16 +0000
commit4c21f728374605ff529aa53c63c3d59517098435 (patch)
treec8598e47a28a343a71744c36ee072870d9a84a86 /src/testlib/qsignalspy.h
parent224b7c6b6a2a425487df19643709d105e8f3cdd5 (diff)
QImageReader: allow only one dimension to be used for scaledSize
If only one dimension (width or height) of the scaled size is set by an user, let's try to calculate the second one, based on the image original size and maintaining the aspect ratio. [ChangeLog][QtGui][QImageReader] Allow only one dimension (width or height) to be set for the scaled size. In this case, the other will be calculated automatically based on the original image size and maintaining the aspect ratio. Task-number: QTBUG-115039 Change-Id: If1b13b1ead3cf788915c08bdb3ba8becd8bf8042 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/testlib/qsignalspy.h')
0 files changed, 0 insertions, 0 deletions