mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-04 13:07:38 +03:00
parent
02881889d5
commit
4f8c204096
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue