Commit e3b27704 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Pedantic

parent 9e25cb42
Pipeline #42008 passed with stage
in 39 minutes and 51 seconds
...@@ -237,13 +237,13 @@ void EncryptJob::process() ...@@ -237,13 +237,13 @@ void EncryptJob::process()
QObject::connect(eJob, &QGpgME::EncryptJob::result, this, [this, d](const GpgME::EncryptionResult &result, QObject::connect(eJob, &QGpgME::EncryptJob::result, this, [this, d](const GpgME::EncryptionResult &result,
const QByteArray &cipherText, const QByteArray &cipherText,
const QString &auditLogAsHtml, const GpgME::Error &auditLogError) { const QString &auditLogAsHtml, const GpgME::Error &auditLogError) {
Q_UNUSED(auditLogAsHtml); Q_UNUSED(auditLogAsHtml)
Q_UNUSED(auditLogError); Q_UNUSED(auditLogError)
if (result.error()) { if (result.error()) {
setError(result.error().code()); setError(result.error().code());
setErrorText(QString::fromLocal8Bit(result.error().asString())); setErrorText(QString::fromLocal8Bit(result.error().asString()));
emitResult(); emitResult();
return; return;
} }
d->resultContent = MessageComposer::Util::composeHeadersAndBody(d->content, cipherText, d->format, false); d->resultContent = MessageComposer::Util::composeHeadersAndBody(d->content, cipherText, d->format, false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment