diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-09-30 23:20:05 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-09-30 23:20:05 +0000 |
commit | 53a7973f51b7e6976c4719074e122bc909267377 (patch) | |
tree | 1bd02032a0a6853cac17eb5ad2eb550f531816a4 /fileencryptiondialog.cpp | |
parent | nearly added icon for attachments in statusbar (diff) | |
download | gpg4usb-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 'fileencryptiondialog.cpp')
-rwxr-xr-x | fileencryptiondialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fileencryptiondialog.cpp b/fileencryptiondialog.cpp index 25db7f0..138a8b4 100755 --- a/fileencryptiondialog.cpp +++ b/fileencryptiondialog.cpp @@ -34,7 +34,7 @@ #include "fileencryptiondialog.h" -FileEncryptionDialog::FileEncryptionDialog(GpgME::Context *ctx, QString iconPath, QWidget *parent) +FileEncryptionDialog::FileEncryptionDialog(GpgME::Context *ctx, QString iconPath, QStringList keyList, QWidget *parent) : QDialog(parent) { @@ -76,7 +76,7 @@ FileEncryptionDialog::FileEncryptionDialog(GpgME::Context *ctx, QString iconPath mKeyList->hide(); mKeyList->setColumnWidth(2, 150); mKeyList->setColumnWidth(3, 150); - + mKeyList->setChecked(&keyList); /* Setup Action */ radioEnc = new QRadioButton(tr("&Encrypt")); connect(radioEnc, SIGNAL(clicked()), this, SLOT(showKeyList())); |