From 2e5de46030e2354b851ba731f6c76ac30a2e8a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 29 Nov 2018 19:52:17 +0100 Subject: Adapted to new KPasswordEdit::password() signature. This relates to bug 2961. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- certmanager/lib/ui/passphrasedialog.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'certmanager/lib/ui/passphrasedialog.cpp') 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(); } -- cgit v1.2.1