Remove unused variable

wilder-work
Montel Laurent 10 years ago
parent 3939214ee8
commit 22f217a299
  1. 2
      src/identity/identitydialog.cpp

@ -250,7 +250,6 @@ void KeySelectionCombo::init()
}
keyFilter->setHasSecret(Kleo::DefaultKeyFilter::Set);
setKeyFilter(keyFilter);
prependCustomItem(QIcon(), i18n("No key"), QStringLiteral("no-key"));
if (mProtocol == GpgME::OpenPGP) {
appendCustomItem(QIcon::fromTheme(QStringLiteral("password-generate")),
@ -263,7 +262,6 @@ void KeySelectionCombo::init()
void KeySelectionCombo::onCustomItemSelected(const QVariant &type)
{
const QString typeStr = type.toString();
if (type == QLatin1String("no-key")) {
return;
} else if (type == QLatin1String("generate-new-key")) {

Loading…
Cancel
Save