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 --- kdialog/kdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kdialog/kdialog.cpp') diff --git a/kdialog/kdialog.cpp b/kdialog/kdialog.cpp index 19dd197e6..671be7465 100644 --- a/kdialog/kdialog.cpp +++ b/kdialog/kdialog.cpp @@ -279,9 +279,9 @@ static int directCommand(TDECmdLineArgs *args) // --password text if (args->isSet("password")) { - TQCString result; + TQString result; bool retcode = Widgets::passwordBox(0, title, TQString::fromLocal8Bit(args->getOption("password")), result); - cout << result.data() << endl; + cout << result.utf8() << endl; return retcode ? 0 : 1; } -- cgit v1.2.1