Showing the changes to interface/src/Application.cpp (1 of 10 files). Show all
Unified · Split
| @@ -2567,8 +2567,8 @@ void Application::cleanupBeforeQuit() { · 2566 unmodified lines | |||
| 2567 | } | 2567 | } |
| 2568 | DependencyManager::destroy<ScriptEngines>(); | 2568 | DependencyManager::destroy<ScriptEngines>(); |
| 2569 | 2569 | ||
| 2570 | bool autoLogout = Setting::Handle<bool>(KEEP_ME_LOGGED_IN_SETTING_NAME, false).get(); | 2570 | bool keepMeLoggedIn = Setting::Handle<bool>(KEEP_ME_LOGGED_IN_SETTING_NAME, false).get(); |
| 2571 | if (autoLogout) { | 2571 | if (!keepMeLoggedIn) { |
| 2572 | DependencyManager::get<AccountManager>()->removeAccountFromFile(); | 2572 | DependencyManager::get<AccountManager>()->removeAccountFromFile(); |
| 2573 | } | 2573 | } |
| 2574 | 2574 | ||