...instead of hardcoding a format such as ARGB32_Pre. A subclass may override format() after all. A few lines below there is the same check in fact, but this time with hasAlphaChannel(). To be consistent, switch over to hasAlphaChannel() in the first case as well. Pick-to: 6.5 Change-Id: I7a5653863a72f8a0df98da66290f6d17e548b0a8 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 522d9fcfe40a107779f6e21d83195fafa67fb064) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%