Skip to content

Commit

Permalink
qAsConst -> std::as_const
Browse files Browse the repository at this point in the history
  • Loading branch information
zzag committed Dec 26, 2023
1 parent bc377af commit 795a9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/declarative/dynamicwallpapercrawler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ KPackage::PackageStructure *DynamicWallpaperCrawler::packageStructure() const

void DynamicWallpaperCrawler::run()
{
for (const QString &candidate : qAsConst(m_searchRoots))
for (const QString &candidate : std::as_const(m_searchRoots))
visitFolder(candidate);

deleteLater();
Expand Down

0 comments on commit 795a9b8

Please sign in to comment.