aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg/GpgFileOpera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpg/GpgFileOpera.cpp')
-rw-r--r--src/gpg/GpgFileOpera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpg/GpgFileOpera.cpp b/src/gpg/GpgFileOpera.cpp
index 9395bd17..5d924349 100644
--- a/src/gpg/GpgFileOpera.cpp
+++ b/src/gpg/GpgFileOpera.cpp
@@ -114,7 +114,7 @@ gpgme_error_t GpgFileOpera::signFile(GpgME::GpgContext *ctx, QVector<GpgKey> &ke
auto outBuffer = QByteArray();
infile.close();
- auto error = ctx->sign(keys, inBuffer, &outBuffer, true, result);
+ auto error = ctx->sign(keys, inBuffer, &outBuffer, GPGME_SIG_MODE_DETACH, result);
if (gpg_err_code(error) != GPG_ERR_NO_ERROR) return error;