diff options
Diffstat (limited to 'certmanager/lib/ui/passphrasedialog.cpp')
-rw-r--r-- | certmanager/lib/ui/passphrasedialog.cpp | 5 |
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(); } |