diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-11-30 13:41:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-11-30 13:53:45 +0900 |
commit | ef196890241aba8ffa5799c21a6740db56028f92 (patch) | |
tree | 55bb6cc17b2cfad381ad52838cb752e50570da5a | |
parent | 29a894ca7a08a9f7d1be7154783fbafeec24650d (diff) | |
download | tdeadmin-ef196890241aba8ffa5799c21a6740db56028f92.tar.gz tdeadmin-ef196890241aba8ffa5799c21a6740db56028f92.zip |
Adapted to new KPasswordEdit::password() signature. Relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kpackage/kpPty.cpp | 4 | ||||
-rw-r--r-- | kpackage/kpPty.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kpackage/kpPty.cpp b/kpackage/kpPty.cpp index e442130..7be446f 100644 --- a/kpackage/kpPty.cpp +++ b/kpackage/kpPty.cpp @@ -92,7 +92,7 @@ kpPty::kpPty() : TQObject() loginSession = FALSE; codec = TQTextCodec::codecForLocale(); - TQMap<TQString, TQCString> passwords; + TQMap<TQString, TQString> passwords; } @@ -189,7 +189,7 @@ bool kpPty::startSession(bool needRoot) inSession = TRUE; } } else if (Result == PASSWORD) { // We got a password prompt - TQCString pass; + TQString pass; int res; interact = TRUE; // kdDebug() << "H=" << hostName << " PH=" << passwords[hostName] << " PT=" << passwordTried <<"\n"; diff --git a/kpackage/kpPty.h b/kpackage/kpPty.h index 9d2d067..bb88a12 100644 --- a/kpackage/kpPty.h +++ b/kpackage/kpPty.h @@ -101,7 +101,7 @@ private: // True if trying to login bool loginSession; TQTextCodec *codec; - TQMap<TQString, TQCString> passwords; + TQMap<TQString, TQString> passwords; }; |