mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Fix settings groups not being terminated properly on logout
fixes #1094
This commit is contained in:
parent
4ec92e0244
commit
81d4285580
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue