qt5base-lts/tests/auto/gui/image/qimagereader
Tor Arne Vestbø cc1ea2bf47 Simplify QColorSpace named presets
We don't need a getter for the 'preset' of a color-space, as color
spaces can be compared to the presets directly. This allows us to
remove the Undefined and Unknown values from the presets.

Internally we still distinguish known presets from unknown or undefined
presets via the magic 0-value. The validity of a QColorSpace is not
based on this preset, but on its actual values.

Fixes: QTBUG-77963
Change-Id: I1e0a2a4be83021b8c82b3c778019f680fd46455b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2019-09-03 15:10:11 +00:00
..
baseline Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
images Generalize image file name @2x suffix handling to higher scale factors 2019-06-14 13:08:56 +02:00
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
android_testdata.qrc Android: Fix QImageReader test 2015-01-16 09:27:15 +01:00
qimagereader.pro tst_qimagereader: Make sure to include all image resources in test 2018-04-20 15:05:01 +00:00
tst_qimagereader.cpp Simplify QColorSpace named presets 2019-09-03 15:10:11 +00:00