summaryrefslogtreecommitdiffstats
path: root/tdessh/sshdlg.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-11-30 11:26:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-11-30 11:26:25 +0900
commit580ffcad3885e5d24e98a9dffe4962654753136e (patch)
treed9019fe61ba9d77465eed215e3aa607772d76d39 /tdessh/sshdlg.cpp
parent1d93eb1e7a39aae33ed852b61b490882e101432e (diff)
downloadtdeutils-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/sshdlg.cpp')
-rw-r--r--tdessh/sshdlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdessh/sshdlg.cpp b/tdessh/sshdlg.cpp
index a43c9d0..df30045 100644
--- a/tdessh/sshdlg.cpp
+++ b/tdessh/sshdlg.cpp
@@ -41,12 +41,12 @@ TDEsshDialog::~TDEsshDialog()
}
-bool TDEsshDialog::checkPassword(const char *password)
+bool TDEsshDialog::checkPassword(const TQString &password)
{
SshProcess proc(m_Host, m_User);
proc.setStub(m_Stub);
- int ret = proc.checkInstall(password);
+ int ret = proc.checkInstall(password.local8Bit());
switch (ret)
{
case -1: