From 53a7973f51b7e6976c4719074e122bc909267377 Mon Sep 17 00:00:00 2001 From: nils Date: Thu, 30 Sep 2010 23:20:05 +0000 Subject: 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 --- gpgwin.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gpgwin.cpp') 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); -- cgit v1.2.3