mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
SSH Agent : Use TRUE_STR and FALSE_STR (review)
This commit is contained in:
parent
0cb2caa146
commit
b7168f6c4e
1 changed files with 2 additions and 2 deletions
|
|
@ -417,7 +417,7 @@ QByteArray KeeAgentSettings::toXml() const
|
|||
|
||||
writer.writeEndElement(); // Location
|
||||
|
||||
writer.writeTextElement("UseCertificate", m_useCertificate ? "true" : "false");
|
||||
writer.writeTextElement("UseCertificate", m_useCertificate ? TRUE_STR : FALSE_STR);
|
||||
writer.writeStartElement("LocationCertificate");
|
||||
|
||||
writer.writeTextElement("SelectedCertificateType", m_selectedCertificateType);
|
||||
|
|
@ -428,7 +428,7 @@ QByteArray KeeAgentSettings::toXml() const
|
|||
writer.writeEmptyElement("AttachmentCertificateName");
|
||||
}
|
||||
|
||||
writer.writeTextElement("SaveAttachmentCertificateToTempFile", m_saveAttachmentCertificateToTempFile ? "true" : "false");
|
||||
writer.writeTextElement("SaveAttachmentCertificateToTempFile", m_saveAttachmentCertificateToTempFile ? TRUE_STR : FALSE_STR);
|
||||
|
||||
if (!m_fileNameCertificate.isEmpty()) {
|
||||
writer.writeTextElement("FileNameCertificate", m_fileNameCertificate);
|
||||
|
|
|
|||
Loading…
Reference in a new issue