Commit b0cbbdd3 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Rolf Eike Beer

do not show message when password changing ends successfully

The transaction may as well end successfully when the user aborted the pinentry
dialogs multiple times, which is indistinguishable from a "real" success. So do
not show a probably wrong message.

CCBUG:383958
parent 9b88ec6a
......@@ -315,7 +315,8 @@ void KgpgKeyInfo::slotInfoPasswordChanged(int result)
switch (result) {
case KGpgTransaction::TS_OK:
KMessageBox::information(this, i18n("Passphrase for the key was changed"));
// when pinentry is used it is indistinguishable if everything went fine
// or the user cancelled the password entries, so simply show nothing
break;
case KGpgTransaction::TS_BAD_PASSPHRASE:
KMessageBox::error(this, i18n("Bad old passphrase, the passphrase for the key was not changed"), i18n("Could not change passphrase"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment