mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-05 11:54:59 -04:00
parent
7f2efd3193
commit
fd7daf4c89
1 changed files with 0 additions and 2 deletions
|
@ -385,7 +385,6 @@ void ApplicationSettingsWidget::saveSettings()
|
||||||
// Security: clear storage if related settings are disabled
|
// Security: clear storage if related settings are disabled
|
||||||
if (!config()->get(Config::RememberLastDatabases).toBool()) {
|
if (!config()->get(Config::RememberLastDatabases).toBool()) {
|
||||||
config()->remove(Config::LastDatabases);
|
config()->remove(Config::LastDatabases);
|
||||||
config()->remove(Config::OpenPreviousDatabasesOnStartup);
|
|
||||||
config()->remove(Config::LastActiveDatabase);
|
config()->remove(Config::LastActiveDatabase);
|
||||||
config()->remove(Config::LastAttachmentDir);
|
config()->remove(Config::LastAttachmentDir);
|
||||||
}
|
}
|
||||||
|
@ -425,7 +424,6 @@ void ApplicationSettingsWidget::resetSettings()
|
||||||
|
|
||||||
// Clear recently used data
|
// Clear recently used data
|
||||||
config()->remove(Config::LastDatabases);
|
config()->remove(Config::LastDatabases);
|
||||||
config()->remove(Config::OpenPreviousDatabasesOnStartup);
|
|
||||||
config()->remove(Config::LastActiveDatabase);
|
config()->remove(Config::LastActiveDatabase);
|
||||||
config()->remove(Config::LastAttachmentDir);
|
config()->remove(Config::LastAttachmentDir);
|
||||||
config()->remove(Config::LastKeyFiles);
|
config()->remove(Config::LastKeyFiles);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue