Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-04-13 16:47:44 +0300
committerGitHub <noreply@github.com>2022-04-13 16:47:44 +0300
commit4033411ffadb7d9491fafe89a2dc72f47173897e (patch)
tree4583f645f7a13f45ace8af34f9543b545f427cbd /src/gui/folderwizard
parent5205defcd23a65d4e7ed889e005d082745bf340b (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.cpp2
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;
}