mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-20 03:58:10 -04:00
Properly save custom header data
Ensure adding custom data upgrades to KDBX4 Implement review feedback
This commit is contained in:
parent
114f00e1e8
commit
5410d78bbb
26 changed files with 189 additions and 174 deletions
|
@ -397,7 +397,7 @@ void KdbxXmlReader::parseBinaries()
|
|||
}
|
||||
}
|
||||
|
||||
void KdbxXmlReader::parseCustomData(CustomData *customData)
|
||||
void KdbxXmlReader::parseCustomData(CustomData* customData)
|
||||
{
|
||||
Q_ASSERT(m_xml.isStartElement() && m_xml.name() == "CustomData");
|
||||
|
||||
|
@ -410,7 +410,7 @@ void KdbxXmlReader::parseCustomData(CustomData *customData)
|
|||
}
|
||||
}
|
||||
|
||||
void KdbxXmlReader::parseCustomDataItem(CustomData *customData)
|
||||
void KdbxXmlReader::parseCustomDataItem(CustomData* customData)
|
||||
{
|
||||
Q_ASSERT(m_xml.isStartElement() && m_xml.name() == "Item");
|
||||
|
||||
|
@ -748,7 +748,7 @@ Entry* KdbxXmlReader::parseEntry(bool history)
|
|||
}
|
||||
continue;
|
||||
}
|
||||
if (m_xml.name() == "CustomData" ){
|
||||
if (m_xml.name() == "CustomData") {
|
||||
parseCustomData(entry->customData());
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue