From 0fe6f075f126408cef6fcfafe2336acfa1b1853e Mon Sep 17 00:00:00 2001 From: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Date: Wed, 16 Sep 2020 09:54:36 +0200 Subject: [PATCH] Do not break out of outer loop when upgrading folders, continue instead Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Remove awkward debug line a.k.a. whoops Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> --- src/gui/folderman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/gui/folderman.cpp diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp old mode 100644 new mode 100755 index be3a2f1e2abf5..17bdfc7eae221 --- a/src/gui/folderman.cpp +++ b/src/gui/folderman.cpp @@ -239,7 +239,7 @@ void FolderMan::setupFoldersHelper(QSettings &settings, AccountStatePtr account, Folder *f = addFolderInternal(folderDefinition, account.data()); f->saveToSettings(); - return; + continue; } // Migration: ._ files sometimes don't work