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 --- fileencryptiondialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fileencryptiondialog.cpp') 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())); -- cgit v1.2.3