From 419ab0972fff50187956e3b4139f786be877995b Mon Sep 17 00:00:00 2001 From: saturneric Date: Fri, 29 Nov 2024 16:33:46 +0100 Subject: [PATCH] fix: solve linux build issue --- src/m_email/EMailBasicGpgOpera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/m_email/EMailBasicGpgOpera.cpp b/src/m_email/EMailBasicGpgOpera.cpp index 70fa1ad..d7f2676 100644 --- a/src/m_email/EMailBasicGpgOpera.cpp +++ b/src/m_email/EMailBasicGpgOpera.cpp @@ -524,7 +524,7 @@ auto SignPlainText(int channel, const QString& key, vmime::fields::CONTENT_DISPOSITION); signature_part_content_disp_header_field->setValue("attachment"); signature_part_content_disp_header_field->setFilename( - vmime::word({"OpenPGP_signature.asc"})); + vmime::word(std::string{"OpenPGP_signature.asc"})); auto public_key = UDUP(GFGpgPublicKey(channel, QDUP(key), 1)); if (public_key.isEmpty()) { @@ -742,7 +742,7 @@ auto SignEMLData(int channel, const QString& key, vmime::fields::CONTENT_DISPOSITION); signature_part_content_disp_header_field->setValue("attachment"); signature_part_content_disp_header_field->setFilename( - vmime::word({"OpenPGP_signature.asc"})); + vmime::word(std::string{"OpenPGP_signature.asc"})); auto public_key = UDUP(GFGpgPublicKey(channel, QDUP(key), 1)); if (public_key.isEmpty()) {