mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Disable timeinfo update for history entries on database parsing.
This commit is contained in:
parent
46bbabbe3c
commit
e1632e8087
@ -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…
Reference in New Issue
Block a user