[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.12'. Changed from b2bd79492236cce1553c5fe8104acd0996790869 to 9823fdf031e66c29e36b04d93b5f05ee79a76bfa 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 9823fdf031e66c29e36b04d93b5f05ee79a76bfa by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 18/07/2026 at 14:29.. 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.11 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]> https://invent.kde.org/qt/qt/qtimageformats/-/commit/9823fdf031e66c29e36b04d93b5f05ee79a76bfa