mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-12 07:49:55 -05:00
parent
02881889d5
commit
4f8c204096
@ -71,7 +71,8 @@ void KdbxWriter::extractDatabase(QByteArray& xmlOutput, Database* db)
|
|||||||
QBuffer buffer;
|
QBuffer buffer;
|
||||||
buffer.setBuffer(&xmlOutput);
|
buffer.setBuffer(&xmlOutput);
|
||||||
buffer.open(QIODevice::WriteOnly);
|
buffer.open(QIODevice::WriteOnly);
|
||||||
KdbxXmlWriter writer(db->formatVersion());
|
KdbxXmlWriter::BinaryIdxMap idxMap;
|
||||||
|
KdbxXmlWriter writer(db->formatVersion(), idxMap);
|
||||||
writer.disableInnerStreamProtection(true);
|
writer.disableInnerStreamProtection(true);
|
||||||
writer.writeDatabase(&buffer, db);
|
writer.writeDatabase(&buffer, db);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user