From 6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 28 Nov 2018 00:04:05 +0900 Subject: Adapted to new KPasswordEdit::password() signature. This relates to bug 2961. Signed-off-by: Michele Calgaro --- tdepasswd/passwd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdepasswd/passwd.cpp') 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); } -- cgit v1.2.1