Fix settings groups not being terminated properly on logout

fixes #1094
pull/1100/head
Nicolas Werner 2 years ago
parent 4ec92e0244
commit 81d4285580
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      src/ChatPage.cpp

@ -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…
Cancel
Save