mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-06-03 00:58:15 -04:00
Use consistently std::as_const instead of qAsConst
NO_CHANGELOG
This commit is contained in:
parent
6f3a326cf8
commit
72a1cc23b1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user