Use consistently std::as_const instead of qAsConst

NO_CHANGELOG
This commit is contained in:
Friedrich W. H. Kossebau 2022-09-22 15:59:15 +02:00
parent 6f3a326cf8
commit 72a1cc23b1

View File

@ -1270,7 +1270,7 @@ void XCFImageFormat::setImageParasites(const XCFImage &xcf_image, QImage &image)
{
auto&& p = xcf_image.parasites;
auto keys = p.keys();
for (auto&& key : qAsConst(keys)) {
for (auto &&key : std::as_const(keys)) {
auto value = p.value(key);
if(value.isEmpty())
continue;