diff options
Diffstat (limited to 'kgpg/listkeys.cpp')
-rw-r--r-- | kgpg/listkeys.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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()) |