From 580ffcad3885e5d24e98a9dffe4962654753136e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 30 Nov 2018 11:26:25 +0900 Subject: Adapted to new KPasswordEdit::password() signature. This relates to bug 2961. Signed-off-by: Michele Calgaro --- kgpg/listkeys.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kgpg/listkeys.cpp') diff --git a/kgpg/listkeys.cpp b/kgpg/listkeys.cpp index 2c75853..ed1d7dc 100644 --- a/kgpg/listkeys.cpp +++ b/kgpg/listkeys.cpp @@ -2223,7 +2223,7 @@ void listKeys::slotgenkey() delete genkey; //genkey->delayedDestruct(); - TQCString password; + TQString password; bool goodpass=false; while (!goodpass) { @@ -2231,7 +2231,7 @@ void listKeys::slotgenkey() if (code!=TQDialog::Accepted) return; if (password.length()<5) - KMessageBox::sorry(this,i18n("This passphrase is not secure enough.\nMinimum length= 5 characters")); + KMessageBox::sorry(this,i18n("This passphrase is not secure enough.\nMinimum length = 5 characters")); else goodpass=true; } @@ -2283,7 +2283,7 @@ void listKeys::slotgenkey() proc->writeStdin(TQString("Subkey-Type: ELG-E")); proc->writeStdin(TQString("Subkey-Length:%1").arg(ksize)); } - proc->writeStdin(TQString("Passphrase:%1").arg(password.data())); + proc->writeStdin(TQString("Passphrase:%1").arg(password)); proc->writeStdin(TQString("Key-Length:%1").arg(ksize)); proc->writeStdin(TQString("Name-Real:%1").arg(newKeyName)); if (!newKeyMail.isEmpty()) -- cgit v1.2.3