summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Blechmann <[email protected]>2024-06-07 09:31:14 +0800
committerTim Blechmann <[email protected]>2024-06-07 15:19:11 +0800
commit05a139d5fb5eb3d652f24ef5ebe28c232b69c6a9 (patch)
treee75f0fb42ca3b1dbfac12396862aa6b4b77778ff
parent57a65735f25774d39214e2199916e9801ac69dd6 (diff)
QIcc: fix clang's -Wimplicit-fallthrough
Clang's -Wimplicit-fallthrough is a little stricter than gcc's. Pick-to: 6.8 Change-Id: Idf933e19ab2d664885743e5db6c1fbb66c8b615e Reviewed-by: Giuseppe D'Angelo <[email protected]>
-rw-r--r--src/gui/painting/qicc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qicc.cpp b/src/gui/painting/qicc.cpp
index 0323dd11959..70bdf28b214 100644
--- a/src/gui/painting/qicc.cpp
+++ b/src/gui/painting/qicc.cpp
@@ -800,6 +800,7 @@ QByteArray toIccProfile(const QColorSpace &space)
case QColorSpace::TransferFunction::Hlg:
writeCicp = true;
fixedLengthTagCount++;
+ break;
default:
break;
}