mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Constify groups variable
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
14bd744df6
commit
3b7bd6d26c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue