Fix settings groups not being terminated properly on logout
fixes #1094
This commit is contained in:
parent
4ec92e0244
commit
81d4285580
@ -297,6 +297,10 @@ ChatPage::deleteConfigs()
|
||||
settings->beginGroup(QStringLiteral("auth"));
|
||||
settings->remove(QLatin1String(""));
|
||||
settings->endGroup(); // auth
|
||||
if (UserSettings::instance()->profile() != QLatin1String("")) {
|
||||
settings->endGroup(); // profilename
|
||||
settings->endGroup(); // profile
|
||||
}
|
||||
|
||||
http::client()->shutdown();
|
||||
cache::deleteData();
|
||||
|
Loading…
Reference in New Issue
Block a user