diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-11-30 11:26:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-11-30 11:26:25 +0900 |
commit | 580ffcad3885e5d24e98a9dffe4962654753136e (patch) | |
tree | d9019fe61ba9d77465eed215e3aa607772d76d39 /tdessh/tdessh.cpp | |
parent | 1d93eb1e7a39aae33ed852b61b490882e101432e (diff) | |
download | tdeutils-580ffcad3885e5d24e98a9dffe4962654753136e.tar.gz tdeutils-580ffcad3885e5d24e98a9dffe4962654753136e.zip |
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdessh/tdessh.cpp')
-rw-r--r-- | tdessh/tdessh.cpp | 6 |
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()); } } |