summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/ui/passphrasedialog.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-11-29 19:52:17 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-11-29 21:48:23 +0100
commit2e5de46030e2354b851ba731f6c76ac30a2e8a3b (patch)
treee48732e76e7d0ceb4e01caab16c1aa2a119c1ad0 /certmanager/lib/ui/passphrasedialog.cpp
parent2f0c49e8523a4d26b6bb9c7c8a05d68cb023a568 (diff)
downloadtdepim-2e5de46030e2354b851ba731f6c76ac30a2e8a3b.tar.gz
tdepim-2e5de46030e2354b851ba731f6c76ac30a2e8a3b.zip
Adapted to new KPasswordEdit::password() signature.
This relates to bug 2961. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'certmanager/lib/ui/passphrasedialog.cpp')
-rw-r--r--certmanager/lib/ui/passphrasedialog.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/certmanager/lib/ui/passphrasedialog.cpp b/certmanager/lib/ui/passphrasedialog.cpp
index a2d0e7c36..e9f1e3e98 100644
--- a/certmanager/lib/ui/passphrasedialog.cpp
+++ b/certmanager/lib/ui/passphrasedialog.cpp
@@ -100,13 +100,12 @@ Kleo::PassphraseDialog::~PassphraseDialog() {
delete d; d = 0;
}
-const char * Kleo::PassphraseDialog::passphrase() const {
+const TQString Kleo::PassphraseDialog::passphrase() const {
return d->lineedit->password();
}
void Kleo::PassphraseDialog::slotOk() {
- const char * pass = passphrase();
- emit finished( pass ? pass : "" );
+ emit finished( passphrase() );
KDialogBase::slotOk();
}