summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@intevation.de>2016-08-05 11:11:13 (GMT)
committerAndre Heinecke <aheinecke@intevation.de>2016-08-05 11:11:13 (GMT)
commit20570ce63677578d761d22204dc0ffd61b2a123a (patch)
treeef4973b34ba58b1de3481489ac19f7262c950de4
parent448617fbfe0a612d141533d43dcaf3b26753d61b (diff)
Fix sign only for files
Typo caused setEncrypt never to be set to false.
-rw-r--r--src/crypto/signencryptfilescontroller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/signencryptfilescontroller.cpp b/src/crypto/signencryptfilescontroller.cpp
index 60827a5..d529a00 100644
--- a/src/crypto/signencryptfilescontroller.cpp
+++ b/src/crypto/signencryptfilescontroller.cpp
@@ -370,7 +370,7 @@ createSignEncryptTaskForFileInfo(const QFileInfo &fi, bool ascii,
task->setRecipients(recipients);
task->setDetachedSignature(false);
} else {
- task->setSign(false);
+ task->setEncrypt(false);
}
const QString input = fi.absoluteFilePath();
task->setInputFileName(input);