summaryrefslogtreecommitdiffstats
path: root/tdepasswd/tdepasswd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdepasswd/tdepasswd.cpp')
-rw-r--r--tdepasswd/tdepasswd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdepasswd/tdepasswd.cpp b/tdepasswd/tdepasswd.cpp
index 41567bf28..a6015eacc 100644
--- a/tdepasswd/tdepasswd.cpp
+++ b/tdepasswd/tdepasswd.cpp
@@ -52,7 +52,7 @@ int main(int argc, char **argv)
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count())
- user = TQString(args->arg(0));
+ user = TQString::fromLocal8Bit(args->arg(0));
/* You must be able to run "tdepasswd loginName" */
if ( !user.isEmpty() && user!=KUser().loginName() && !bRoot)