summaryrefslogtreecommitdiffstats
path: root/tdessh/tdessh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdessh/tdessh.cpp')
-rw-r--r--tdessh/tdessh.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdessh/tdessh.cpp b/tdessh/tdessh.cpp
index d178f4d..042302e 100644
--- a/tdessh/tdessh.cpp
+++ b/tdessh/tdessh.cpp
@@ -166,7 +166,7 @@ int main(int argc, char *argv[])
exit(1);
}
- TQCString password;
+ TQString password;
if (needpw != 0)
{
TDEsshDialog *dlg = new TDEsshDialog(host, user, stub,
@@ -188,14 +188,14 @@ int main(int argc, char *argv[])
if (keep && have_daemon)
{
client.setHost(host);
- client.setPass(password, timeout);
+ client.setPass(password.local8Bit(), timeout);
return client.exec(command, user);
} else
{
proc.setCommand(command);
proc.setTerminal(terminal);
proc.setErase(true);
- return proc.exec(password);
+ return proc.exec(password.local8Bit());
}
}