diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-11-30 16:17:09 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-11-30 16:24:31 +0100 |
commit | 6492b716b372d0f929f98a2965e00e10a0355204 (patch) | |
tree | 45a233b3f64424bea40533578150d392fa07b704 /certmanager | |
parent | 2e5de46030e2354b851ba731f6c76ac30a2e8a3b (diff) | |
download | tdepim-6492b716b372d0f929f98a2965e00e10a0355204.tar.gz tdepim-6492b716b372d0f929f98a2965e00e10a0355204.zip |
Improved previous commit
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'certmanager')
-rw-r--r-- | certmanager/lib/ui/passphrasedialog.cpp | 2 | ||||
-rw-r--r-- | certmanager/lib/ui/passphrasedialog.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/certmanager/lib/ui/passphrasedialog.cpp b/certmanager/lib/ui/passphrasedialog.cpp index e9f1e3e98..990f93cdf 100644 --- a/certmanager/lib/ui/passphrasedialog.cpp +++ b/certmanager/lib/ui/passphrasedialog.cpp @@ -100,7 +100,7 @@ Kleo::PassphraseDialog::~PassphraseDialog() { delete d; d = 0; } -const TQString Kleo::PassphraseDialog::passphrase() const { +TQString Kleo::PassphraseDialog::passphrase() const { return d->lineedit->password(); } diff --git a/certmanager/lib/ui/passphrasedialog.h b/certmanager/lib/ui/passphrasedialog.h index 2416f811b..6515fa4ca 100644 --- a/certmanager/lib/ui/passphrasedialog.h +++ b/certmanager/lib/ui/passphrasedialog.h @@ -63,13 +63,13 @@ namespace Kleo { bool modal=true ); ~PassphraseDialog(); - const TQString passphrase() const; + TQString passphrase() const; signals: /** emitted when the user clicks Ok. \a pass is never NULL. \c pass only valid inside slots connected to this signal. */ - void finished( const TQString pass ); + void finished( const TQString &pass ); /** emitted when the user clicks Cancel. */ void canceled(); |