aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/FileEncryptionDialog.cpp
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2021-08-23 12:20:22 +0000
committerGitHub <[email protected]>2021-08-23 12:20:22 +0000
commitcfc3f9545e713dc9378108b88d3dc97fd168a572 (patch)
treecb0ef59b60f1a0ebc70156fe1bb6a22c205497c3 /src/ui/FileEncryptionDialog.cpp
parentMerge pull request #15 from saturneric/develop (diff)
parentFix a discovered problem. (diff)
downloadGpgFrontend-cfc3f9545e713dc9378108b88d3dc97fd168a572.tar.gz
GpgFrontend-cfc3f9545e713dc9378108b88d3dc97fd168a572.zip
Merge pull request #22 from saturneric/develop
Diffstat (limited to 'src/ui/FileEncryptionDialog.cpp')
-rwxr-xr-xsrc/ui/FileEncryptionDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/FileEncryptionDialog.cpp b/src/ui/FileEncryptionDialog.cpp
index e92dfc90..23ec0b2a 100755
--- a/src/ui/FileEncryptionDialog.cpp
+++ b/src/ui/FileEncryptionDialog.cpp
@@ -229,7 +229,7 @@ void FileEncryptionDialog::slotExecuteAction() {
if (mAction == Sign) {
qDebug() << "Action Sign";
- gpgme_error_t err = mCtx->sign(keys, inBuffer, outBuffer, true);
+ gpgme_error_t err = mCtx->sign(keys, inBuffer, outBuffer, GPGME_SIG_MODE_DETACH, nullptr);
if (gpgme_err_code(err) != GPG_ERR_NO_ERROR) {
qDebug() << "Error" << gpgme_strerror(err);
QMessageBox::warning(this, tr("Error"),