diff options
Diffstat (limited to 'kdialog/kdialog.cpp')
-rw-r--r-- | kdialog/kdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |