Disable timeinfo update for history entries on database parsing.

This commit is contained in:
Florian Geyer 2012-04-17 02:26:25 +02:00 committed by Felix Geyer
parent 46bbabbe3c
commit e1632e8087

View File

@ -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 {