diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-04-13 16:47:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-13 16:47:44 +0300 |
commit | 4033411ffadb7d9491fafe89a2dc72f47173897e (patch) | |
tree | 4583f645f7a13f45ace8af34f9543b545f427cbd /src/gui/folderwizard | |
parent | 5205defcd23a65d4e7ed889e005d082745bf340b (diff) |
Use the folder object directly instead of looking it up by its name (#9583)
Diffstat (limited to 'src/gui/folderwizard')
-rw-r--r-- | src/gui/folderwizard/folderwizard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderwizard/folderwizard.cpp b/src/gui/folderwizard/folderwizard.cpp index dcb98fc10..160c91e27 100644 --- a/src/gui/folderwizard/folderwizard.cpp +++ b/src/gui/folderwizard/folderwizard.cpp @@ -443,7 +443,7 @@ bool FolderWizardRemotePath::isComplete() const bool ok = true; - for (auto *f : qAsConst(FolderMan::instance()->map())) { + for (auto *f : qAsConst(FolderMan::instance()->folders())) { if (f->accountState()->account() != _account) { continue; } |