Merge branch 'release/2.4.0' into develop

This commit is contained in:
Jonathan White 2019-02-15 09:01:09 -05:00
commit fa459b0d1e
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
297 changed files with 129410 additions and 151299 deletions

View file

@ -367,6 +367,10 @@ void KdbxXmlReader::parseIcon()
}
if (uuidSet && iconSet) {
// Check for duplicate UUID (corruption)
if (m_meta->containsCustomIcon(uuid)) {
uuid = QUuid::createUuid();
}
m_meta->addCustomIcon(uuid, icon);
return;
}