mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-17 09:24:28 -05:00
Avoid creation of temporary containers
This commit is contained in:
parent
39b96c13e8
commit
2cf837801d
6 changed files with 15 additions and 7 deletions
|
|
@ -91,7 +91,8 @@ void Config::sync()
|
|||
|
||||
void Config::upgrade()
|
||||
{
|
||||
for (const auto& setting : deprecationMap.keys()) {
|
||||
const auto keys = deprecationMap.keys();
|
||||
for (const auto& setting : keys) {
|
||||
if (m_settings->contains(setting)) {
|
||||
if (!deprecationMap.value(setting).isEmpty()) {
|
||||
// Add entry with new name and old entry's value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue