mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-01 18:07:05 -04:00
Disable timeinfo update for history entries on database parsing.
This commit is contained in:
parent
46bbabbe3c
commit
e1632e8087
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,9 @@ void KeePass2XmlReader::readDatabase(QIODevice* device, Database* db, KeePass2Ra
|
|||
|
||||
Q_FOREACH (Entry* entry, m_entries) {
|
||||
entry->setUpdateTimeinfo(true);
|
||||
Q_FOREACH(Entry* histEntry, entry->historyItems()) {
|
||||
histEntry->setUpdateTimeinfo(true);
|
||||
}
|
||||
}
|
||||
|
||||
delete m_tmpParent;
|
||||
|
@ -469,6 +472,7 @@ Entry* KeePass2XmlReader::parseEntry(bool history)
|
|||
else {
|
||||
if (history) {
|
||||
entry = new Entry();
|
||||
entry->setUpdateTimeinfo(false);
|
||||
entry->setUuid(uuid);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue