|
|
@ -113,14 +113,14 @@ bool CvsLoginJob::execute()
|
|
|
|
// TODO: We really should display the repository name. Unfortunately
|
|
|
|
// TODO: We really should display the repository name. Unfortunately
|
|
|
|
// the dialog doesn't show part of the repository name, because
|
|
|
|
// the dialog doesn't show part of the repository name, because
|
|
|
|
// it's too long. :-(
|
|
|
|
// it's too long. :-(
|
|
|
|
TQCString password;
|
|
|
|
TQString password;
|
|
|
|
int res = KPasswordDialog::getPassword(password, i18n("Please type "
|
|
|
|
int res = KPasswordDialog::getPassword(password, i18n("Please type "
|
|
|
|
"in your password for the repository below."));
|
|
|
|
"in your password for the repository below."));
|
|
|
|
if( res == KPasswordDialog::Accepted )
|
|
|
|
if( res == KPasswordDialog::Accepted )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// send password to process
|
|
|
|
// send password to process
|
|
|
|
m_Proc->WaitSlave();
|
|
|
|
m_Proc->WaitSlave();
|
|
|
|
m_Proc->writeLine(password);
|
|
|
|
m_Proc->writeLine(password.local8Bit());
|
|
|
|
|
|
|
|
|
|
|
|
// wait for the result
|
|
|
|
// wait for the result
|
|
|
|
while( !line.contains(FAILURE_PHRASE) )
|
|
|
|
while( !line.contains(FAILURE_PHRASE) )
|
|
|
|