diff --git a/apps/opencs/model/settings/usersettings.cpp b/apps/opencs/model/settings/usersettings.cpp index 2175c7364..c17f28d4e 100644 --- a/apps/opencs/model/settings/usersettings.cpp +++ b/apps/opencs/model/settings/usersettings.cpp @@ -177,9 +177,9 @@ void CSMSettings::UserSettings::loadFromFile(const QString &filePath) } mSectionSettings.insert(section, settings); - } - stream->device()->close(); + stream->device()->close(); + } return; }