mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-02-17 22:43:02 -05:00
Remove Qt version checks now that 6.8.0 is the minimum required
This commit is contained in:
@ -841,11 +841,9 @@ bool LoadRAW(QImageIOHandler *handler, QImage &img)
|
||||
if (params.output_color == 7) {
|
||||
img.setColorSpace(QColorSpace(QColorSpace::DisplayP3));
|
||||
}
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
|
||||
if (params.output_color == 8) {
|
||||
img.setColorSpace(QColorSpace(QColorSpace::Bt2020));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// *** Set the metadata
|
||||
|
||||
Reference in New Issue
Block a user