aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-09-30 23:20:05 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-09-30 23:20:05 +0000
commit53a7973f51b7e6976c4719074e122bc909267377 (patch)
tree1bd02032a0a6853cac17eb5ad2eb550f531816a4 /gpgwin.cpp
parentnearly added icon for attachments in statusbar (diff)
downloadgpg4usb-53a7973f51b7e6976c4719074e122bc909267377.tar.gz
gpg4usb-53a7973f51b7e6976c4719074e122bc909267377.zip
now checked keys in the mainwindow's keylist are also checked in the fileencryption dialog's keylist
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@380 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 3619a37..1ab2c11 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -718,9 +718,11 @@ void GpgWin::appendSelectedKeys()
void GpgWin::fileEncryption()
{
- new FileEncryptionDialog(mCtx, iconPath, this);
-
+ QStringList *keyList;
+ keyList = mKeyList->getChecked();
+ new FileEncryptionDialog(mCtx, iconPath, *keyList, this);
}
+
void GpgWin::openSettingsDialog()
{
new SettingsDialog(this);