Adapted to new KPasswordEdit::password() signature. Relates to bug 2961.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/7/head
Michele Calgaro 6 years ago
parent 29a894ca7a
commit ef19689024

@ -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";

@ -101,7 +101,7 @@ private:
// True if trying to login
bool loginSession;
TQTextCodec *codec;
TQMap<TQString, TQCString> passwords;
TQMap<TQString, TQString> passwords;
};

Loading…
Cancel
Save