mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-26 16:25:23 -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) {
|
Q_FOREACH (Entry* entry, m_entries) {
|
||||||
entry->setUpdateTimeinfo(true);
|
entry->setUpdateTimeinfo(true);
|
||||||
|
Q_FOREACH(Entry* histEntry, entry->historyItems()) {
|
||||||
|
histEntry->setUpdateTimeinfo(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
delete m_tmpParent;
|
delete m_tmpParent;
|
||||||
|
@ -469,6 +472,7 @@ Entry* KeePass2XmlReader::parseEntry(bool history)
|
||||||
else {
|
else {
|
||||||
if (history) {
|
if (history) {
|
||||||
entry = new Entry();
|
entry = new Entry();
|
||||||
|
entry->setUpdateTimeinfo(false);
|
||||||
entry->setUuid(uuid);
|
entry->setUuid(uuid);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue