From: Claudio Cambra Date: Thu, 15 Dec 2022 13:32:48 +0000 (+0100) Subject: Constify groups variable X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~59^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3b7bd6d26c5a4b8981fd5b1d9f373292523c53ff;p=nextcloud-desktop.git Constify groups variable Signed-off-by: Claudio Cambra --- diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp index 42cdcdfa2..44c5efdef 100644 --- a/src/gui/folderman.cpp +++ b/src/gui/folderman.cpp @@ -507,7 +507,7 @@ Folder *FolderMan::setupFolderFromOldConfigFile(const QString &file, AccountStat // Check if the filename is equal to the group setting. If not, use the group // name as an alias. - QStringList groups = settings.childGroups(); + const auto groups = settings.childGroups(); if (groups.isEmpty()) { qCWarning(lcFolderMan) << "empty file:" << cfgFile.filePath(); return folder;