summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/qvulkan
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2021-07-13 17:14:11 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2021-07-14 11:02:25 +0000
commitf0510d5bd2f1ed1dc76f6f89fb24566045d9ade7 (patch)
treec059ec66a438e2a7c1f6f7920f2f4a47856d15b2 /tests/auto/gui/qvulkan
parenta7564e2657dcbd2f69c357d7c49c9326a23ee021 (diff)
Improve support for saving QImage to QSaveFile
When saving to a QIODevice, QImage and QImageWriter will automatically deduct the file format from the filename if it determines that the device is a QFile. That did not work for a QSaveFile device. Fix by using the common ancestor, QFileDevice, in the implementation. Fixes: QTBUG-89022 Pick-to: 6.2 Change-Id: Ie01d80df4f29ca0d4ff30bf7e1b77605293c070e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/gui/qvulkan')
0 files changed, 0 insertions, 0 deletions