mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-06-03 17:08:08 -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&& p = xcf_image.parasites;
|
||||||
auto keys = p.keys();
|
auto keys = p.keys();
|
||||||
for (auto&& key : qAsConst(keys)) {
|
for (auto &&key : std::as_const(keys)) {
|
||||||
auto value = p.value(key);
|
auto value = p.value(key);
|
||||||
if(value.isEmpty())
|
if(value.isEmpty())
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user