summaryrefslogtreecommitdiffstats
path: root/kgpg/listkeys.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-11-30 11:26:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-11-30 11:26:25 +0900
commit580ffcad3885e5d24e98a9dffe4962654753136e (patch)
treed9019fe61ba9d77465eed215e3aa607772d76d39 /kgpg/listkeys.cpp
parent1d93eb1e7a39aae33ed852b61b490882e101432e (diff)
downloadtdeutils-580ffcad3885e5d24e98a9dffe4962654753136e.tar.gz
tdeutils-580ffcad3885e5d24e98a9dffe4962654753136e.zip
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kgpg/listkeys.cpp')
-rw-r--r--kgpg/listkeys.cpp6
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())