summaryrefslogtreecommitdiffstats
path: root/kdialog
diff options
context:
space:
mode:
Diffstat (limited to 'kdialog')
-rw-r--r--kdialog/kdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdialog/kdialog.cpp b/kdialog/kdialog.cpp
index 671be7465..fa2512077 100644
--- a/kdialog/kdialog.cpp
+++ b/kdialog/kdialog.cpp
@@ -281,7 +281,7 @@ static int directCommand(TDECmdLineArgs *args)
{
TQString result;
bool retcode = Widgets::passwordBox(0, title, TQString::fromLocal8Bit(args->getOption("password")), result);
- cout << result.utf8() << endl;
+ cout << result.local8Bit().data() << endl;
return retcode ? 0 : 1;
}