CVS_SILENT: partially works

svn path=/trunk/kdenetwork/kmail/; revision=14010
wilder-work
Juraj Bednar 28 years ago
parent d90e9b6e3a
commit 0d4915faaf
  1. 5
      kpgp.cpp

@ -754,7 +754,7 @@ KpgpPass::getPhrase()
// ------------------------------------------------------------------------
KpgpKey::KpgpKey(QWidget *parent, const char *name, QStrList *keys = NULL)
KpgpKey::KpgpKey(QWidget *parent, const char *name, QStrList *keys)
: QDialog(parent, 0, TRUE)
{
KIconLoader* loader = kapp->getIconLoader();
@ -776,6 +776,7 @@ KpgpKey::KpgpKey(QWidget *parent, const char *name, QStrList *keys = NULL)
icon->resize(48,48);
combobox = new QComboBox(FALSE, this, "combo");
if (keys==NULL) debug("keys = NULL");
combobox->insertStrList(keys);
combobox->setFocus();
@ -793,7 +794,7 @@ KpgpKey::~KpgpKey()
QString
KpgpKey::getKeyName(QWidget *parent, QStrList *keys = NULL)
{
KpgpKey pgpkey(parent, i18n("Select key"));
KpgpKey pgpkey(parent, i18n("Select key"), keys);
pgpkey.exec();
return pgpkey.getKey().copy();
}

Loading…
Cancel
Save