diff options
Diffstat (limited to 'tdmlib')
-rw-r--r-- | tdmlib/kgreet_classic.cpp | 6 | ||||
-rw-r--r-- | tdmlib/kgreet_pam.cpp | 6 | ||||
-rw-r--r-- | tdmlib/kgreet_winbind.cpp | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/tdmlib/kgreet_classic.cpp b/tdmlib/kgreet_classic.cpp index 053f4fdee..996754181 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().utf8(), + handler->gplugReturnText( passwdEdit->password().local8Bit(), KGreeterPluginHandler::IsPassword | KGreeterPluginHandler::IsSecret ); break; case 2: - handler->gplugReturnText( passwd1Edit->password().utf8(), + handler->gplugReturnText( passwd1Edit->password().local8Bit(), KGreeterPluginHandler::IsSecret ); break; default: // case 3: - handler->gplugReturnText( passwd2Edit->password().utf8(), + handler->gplugReturnText( passwd2Edit->password().local8Bit(), KGreeterPluginHandler::IsNewPassword | KGreeterPluginHandler::IsSecret ); break; diff --git a/tdmlib/kgreet_pam.cpp b/tdmlib/kgreet_pam.cpp index ade772938..e7a5f0747 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().utf8(), + handler->gplugReturnText( authEdit[0]->password().local8Bit(), KGreeterPluginHandler::IsPassword | KGreeterPluginHandler::IsSecret ); break; case 2: - handler->gplugReturnText( authEdit[1]->password().utf8(), + handler->gplugReturnText( authEdit[1]->password().local8Bit(), KGreeterPluginHandler::IsSecret ); break; default: // case 3: - handler->gplugReturnText( authEdit[2]->password().utf8(), + handler->gplugReturnText( authEdit[2]->password().local8Bit(), KGreeterPluginHandler::IsNewPassword | KGreeterPluginHandler::IsSecret ); break; diff --git a/tdmlib/kgreet_winbind.cpp b/tdmlib/kgreet_winbind.cpp index 0bfc1e7fb..471095d7e 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().utf8(), + handler->gplugReturnText( passwdEdit->password().local8Bit(), KGreeterPluginHandler::IsPassword | KGreeterPluginHandler::IsSecret ); break; case 2: - handler->gplugReturnText( passwd1Edit->password().utf8(), + handler->gplugReturnText( passwd1Edit->password().local8Bit(), KGreeterPluginHandler::IsSecret ); break; default: // case 3: - handler->gplugReturnText( passwd2Edit->password().utf8(), + handler->gplugReturnText( passwd2Edit->password().local8Bit(), KGreeterPluginHandler::IsNewPassword | KGreeterPluginHandler::IsSecret ); break; |