[qt/qt/qtimageformats]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt/qtimageformats Pushed by mirror-service into branch '6.11'. Changed from 4107aef4ecb6451c787b6218ed0b53a73aee95b7 to 607945496bd71aed26b7b69b682773a02d96dd67 Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit 607945496bd71aed26b7b69b682773a02d96dd67 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 18/07/2026 at 17:00.. QTiffHandler: simplify use of TIFFWriteScanline() in write() Fix the impedance mismatch between TIFFWriteScanline() wanting a void* while QImage::scanLine() only provides pointer-to-const. Only one caller correctly used a const_cast<uchar*>(), some were using C-style casts to cast away const. To fix, add a lambda, writeScanline, which takes the line by const void*, and const-casts internally. As a drive-by, remove the unneeded reinterpret_cast<uint32_t*>() (both the new lambda and the old TIFFWriteScanline() take void*, so don't need that cast). Amends many. Because it is kinda invasive, pick to all active branches, to not block real security fixes later on. Pick-to: 6.8 Change-Id: I907a3f4197314857143f14519ab4620f660271b9 Reviewed-by: Allan Sandfeld Jensen <[email protected]> (cherry picked from commit ae7c18d1e0bdcfce8abc1347a43c9c74ac5a3d37) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit 9823fdf031e66c29e36b04d93b5f05ee79a76bfa) https://invent.kde.org/qt/qt/qtimageformats/-/commit/607945496bd71aed26b7b69b682773a02d96dd67