diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-11-28 00:04:05 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-11-28 00:04:05 +0900 |
commit | 6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b (patch) | |
tree | 154aa555033fe887b9b56d8a559000c89b166f1e /tdepasswd/passwd.cpp | |
parent | 3c2da5f0e188e1f1152da840bdf8d94ceb509671 (diff) | |
download | tdebase-6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b.tar.gz tdebase-6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b.zip |
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdepasswd/passwd.cpp')
-rw-r--r-- | tdepasswd/passwd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdepasswd/passwd.cpp b/tdepasswd/passwd.cpp index 9d29333fc..6d6d45675 100644 --- a/tdepasswd/passwd.cpp +++ b/tdepasswd/passwd.cpp @@ -64,9 +64,9 @@ PasswdProcess::~PasswdProcess() } -int PasswdProcess::checkCurrent(const char *oldpass) +int PasswdProcess::checkCurrent(const TQString &oldpass) { - return exec(oldpass, 0L, 1); + return exec(oldpass.utf8(), 0L, 1); } |