Correct checks for containers' emptiness
This commit is contained in:
committed by
Jonathan White
parent
fc930bae69
commit
e81841550b
@@ -731,7 +731,7 @@ Entry* KdbxXmlReader::parseEntry(bool history)
|
||||
}
|
||||
if (m_xml.name() == "Binary") {
|
||||
QPair<QString, QString> ref = parseEntryBinary(entry);
|
||||
if (!ref.first.isNull() && !ref.second.isNull()) {
|
||||
if (!ref.first.isEmpty() && !ref.second.isEmpty()) {
|
||||
binaryRefs.append(ref);
|
||||
}
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user