From 3b7bd6d26c5a4b8981fd5b1d9f373292523c53ff Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 15 Dec 2022 14:32:48 +0100 Subject: [PATCH] Constify groups variable Signed-off-by: Claudio Cambra --- src/gui/folderman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5