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 --- tdmlib/kgreet_classic.cpp | 6 +++--- tdmlib/kgreet_pam.cpp | 6 +++--- tdmlib/kgreet_winbind.cpp | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'tdmlib') diff --git a/tdmlib/kgreet_classic.cpp b/tdmlib/kgreet_classic.cpp index d22f6979f..053f4fdee 100644 --- a/tdmlib/kgreet_classic.cpp +++ b/tdmlib/kgreet_classic.cpp @@ -280,16 +280,16 @@ KClassicGreeter::returnData() KGreeterPluginHandler::IsUser ); break; case 1: - handler->gplugReturnText( passwdEdit->password(), + handler->gplugReturnText( passwdEdit->password().utf8(), KGreeterPluginHandler::IsPassword | KGreeterPluginHandler::IsSecret ); break; case 2: - handler->gplugReturnText( passwd1Edit->password(), + handler->gplugReturnText( passwd1Edit->password().utf8(), KGreeterPluginHandler::IsSecret ); break; default: // case 3: - handler->gplugReturnText( passwd2Edit->password(), + handler->gplugReturnText( passwd2Edit->password().utf8(), KGreeterPluginHandler::IsNewPassword | KGreeterPluginHandler::IsSecret ); break; diff --git a/tdmlib/kgreet_pam.cpp b/tdmlib/kgreet_pam.cpp index 2aea2ae04..ade772938 100644 --- a/tdmlib/kgreet_pam.cpp +++ b/tdmlib/kgreet_pam.cpp @@ -325,16 +325,16 @@ KPamGreeter::returnData() KGreeterPluginHandler::IsUser ); break; case 1: - handler->gplugReturnText( authEdit[0]->password(), + handler->gplugReturnText( authEdit[0]->password().utf8(), KGreeterPluginHandler::IsPassword | KGreeterPluginHandler::IsSecret ); break; case 2: - handler->gplugReturnText( authEdit[1]->password(), + handler->gplugReturnText( authEdit[1]->password().utf8(), KGreeterPluginHandler::IsSecret ); break; default: // case 3: - handler->gplugReturnText( authEdit[2]->password(), + handler->gplugReturnText( authEdit[2]->password().utf8(), KGreeterPluginHandler::IsNewPassword | KGreeterPluginHandler::IsSecret ); break; diff --git a/tdmlib/kgreet_winbind.cpp b/tdmlib/kgreet_winbind.cpp index cddb2866b..0bfc1e7fb 100644 --- a/tdmlib/kgreet_winbind.cpp +++ b/tdmlib/kgreet_winbind.cpp @@ -356,16 +356,16 @@ KWinbindGreeter::returnData() KGreeterPluginHandler::IsUser ); break; case 1: - handler->gplugReturnText( passwdEdit->password(), + handler->gplugReturnText( passwdEdit->password().utf8(), KGreeterPluginHandler::IsPassword | KGreeterPluginHandler::IsSecret ); break; case 2: - handler->gplugReturnText( passwd1Edit->password(), + handler->gplugReturnText( passwd1Edit->password().utf8(), KGreeterPluginHandler::IsSecret ); break; default: // case 3: - handler->gplugReturnText( passwd2Edit->password(), + handler->gplugReturnText( passwd2Edit->password().utf8(), KGreeterPluginHandler::IsNewPassword | KGreeterPluginHandler::IsSecret ); break; -- cgit v1.2.1