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/kcm/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdepasswd/kcm/main.cpp') diff --git a/tdepasswd/kcm/main.cpp b/tdepasswd/kcm/main.cpp index 48478c306..9b11acbcd 100644 --- a/tdepasswd/kcm/main.cpp +++ b/tdepasswd/kcm/main.cpp @@ -209,7 +209,7 @@ void KCMUserAccount::save() /* Save realname to /etc/passwd */ if ( _mw->leRealname->isModified() ) { - TQCString password; + TQString password; int ret = KPasswordDialog::getPassword( password, i18n("Please enter " "your password in order to save your settings:")); @@ -221,7 +221,7 @@ void KCMUserAccount::save() } ChfnProcess *proc = new ChfnProcess(); - ret = proc->exec(password, _mw->leRealname->text().ascii() ); + ret = proc->exec(password.utf8(), _mw->leRealname->text().utf8() ); if ( ret ) { if ( ret == ChfnProcess::PasswordError ) -- cgit v1.2.1