projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14bd744
)
Constify groups variable
author
Claudio Cambra
<claudio.cambra@nextcloud.com>
Thu, 15 Dec 2022 13:32:48 +0000
(14:32 +0100)
committer
Claudio Cambra
<claudio.cambra@gmail.com>
Thu, 15 Dec 2022 15:58:00 +0000
(16:58 +0100)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/folderman.cpp
patch
|
blob
|
history
diff --git
a/src/gui/folderman.cpp
b/src/gui/folderman.cpp
index 42cdcdfa254b1ea9400eae3ca386c5fee4553f07..44c5efdef9341661d0c8940ca1b38cbcdda9c25f 100644
(file)
--- 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;