aboutsummaryrefslogtreecommitdiffstats
path: root/fileencryptiondialog.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-03-26 17:18:48 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-03-26 17:18:48 +0000
commit39ba8a8d05ab78e9cd678caaa65a7725023e4877 (patch)
tree0396cc56a4bdaa0222832436c2bcf13c2ff394a0 /fileencryptiondialog.cpp
parentremoved unnecessary code (diff)
downloadgpg4usb-39ba8a8d05ab78e9cd678caaa65a7725023e4877.tar.gz
gpg4usb-39ba8a8d05ab78e9cd678caaa65a7725023e4877.zip
corrected the selected/checked key in file-encryption
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@282 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to '')
-rwxr-xr-xfileencryptiondialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fileencryptiondialog.cpp b/fileencryptiondialog.cpp
index 2d8b44d..aee52bb 100755
--- a/fileencryptiondialog.cpp
+++ b/fileencryptiondialog.cpp
@@ -151,7 +151,7 @@ void FileEncryptionDialog::executeAction()
QByteArray *outBuffer = new QByteArray();
if (radioEnc->isChecked()) {
- if (! mCtx->encrypt(mKeyList->getSelected(), inBuffer, outBuffer)) return;
+ if (! mCtx->encrypt(mKeyList->getChecked(), inBuffer, outBuffer)) return;
}
if (radioDec->isChecked()) {