Skip to content

Commit c8b2340

Browse files
committed
fix(settings): add missing endGroup() in Folder::removeFromSettings
The last beginGroup("FoldersWithPlaceholders") call was never closed with endGroup(), leaving the QSettings group stack unbalanced. Signed-off-by: Stefan Agner <stefan@agner.ch>
1 parent 51d9615 commit c8b2340

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gui/folder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,7 @@ void Folder::removeFromSettings() const
992992
settings->endGroup();
993993
settings->beginGroup(QLatin1String("FoldersWithPlaceholders"));
994994
settings->remove(FolderMan::escapeAlias(_definition.alias));
995+
settings->endGroup();
995996
}
996997

997998
bool Folder::pathIsIgnored(const QString &path) const

0 commit comments

Comments
 (0)