Skip to content

Commit

Permalink
Use std::as_const.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <hello@camilasan.com>
  • Loading branch information
camilasan committed Jan 27, 2025
1 parent 9c02bf3 commit dd7ce5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/folderwizard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ bool FolderWizardRemotePath::isComplete() const
}
wizard()->setProperty("targetPath", targetPath);

for (const auto folder : qAsConst(FolderMan::instance()->map())) {
for (const auto folder : std::as_const(FolderMan::instance()->map())) {
if (folder->accountState()->account() != _account) {
continue;
}
Expand Down

0 comments on commit dd7ce5f

Please sign in to comment.