summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <kde@opensource.sf-tec.de>2011-07-22 17:20:53 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2011-07-22 17:20:53 (GMT)
commit29e422ce3a4f8a504b4310156c3b87d988033547 (patch)
tree4394e8eb586b7460848ceabbebcb54b04869b730
parentb2e74d62263549a3e7487daf6dec69355b219748 (diff)
immediately honor encryption with untrusted keys setting
Make sure the proxy model gets the information right from the beginning if those keys are allowed for encryption or not. BUG:278238 FIXED-IN:4.7.1 svn path=/branches/KDE/4.7/kdeutils/kgpg/; revision=1242767
-rw-r--r--selectpublickeydialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/selectpublickeydialog.cpp b/selectpublickeydialog.cpp
index a4ccd83..af0bae9 100644
--- a/selectpublickeydialog.cpp
+++ b/selectpublickeydialog.cpp
@@ -104,6 +104,7 @@ KgpgSelectPublicKeyDlg::KgpgSelectPublicKeyDlg(QWidget *parent, KGpgItemModel *m
"box enables you to use any key, even if it has not be signed."));
m_cbhideid = new QCheckBox(i18n("Hide user id"), optionsbox);
+ connect(m_cbuntrusted, SIGNAL(toggled(bool)), this, SLOT(slotUntrusted(bool)));
m_cbhideid->setChecked(KGpgSettings::hideUserID());
m_cbhideid->setWhatsThis(i18n("<b>Hide user ID</b>: Do not put the keyid into encrypted packets. This option hides the receiver "
"of the message and is a countermeasure against traffic analysis. It may slow down the decryption process because "
@@ -139,7 +140,6 @@ KgpgSelectPublicKeyDlg::KgpgSelectPublicKeyDlg(QWidget *parent, KGpgItemModel *m
connect(action, SIGNAL(triggered(bool)), SLOT(slotGotoDefaultKey()));
connect(m_cbsymmetric, SIGNAL(toggled(bool)), this, SLOT(slotSymmetric(bool)));
- connect(m_cbuntrusted, SIGNAL(toggled(bool)), this, SLOT(slotUntrusted(bool)));
connect(m_keyslist->selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), this, SLOT(slotSelectionChanged()));
connect(m_keyslist, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(slotOk()));