summaryrefslogtreecommitdiffstats
path: root/tdmlib/kgreet_classic.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-11-28 00:04:05 +0900
committerMichele Calgaro <[email protected]>2018-11-28 00:04:05 +0900
commit6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b (patch)
tree154aa555033fe887b9b56d8a559000c89b166f1e /tdmlib/kgreet_classic.cpp
parent3c2da5f0e188e1f1152da840bdf8d94ceb509671 (diff)
downloadtdebase-6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b.tar.gz
tdebase-6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b.zip
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdmlib/kgreet_classic.cpp')
-rw-r--r--tdmlib/kgreet_classic.cpp6
1 files changed, 3 insertions, 3 deletions
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;