Properly save custom header data
Ensure adding custom data upgrades to KDBX4 Implement review feedback
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user