From c1c33b0dfdd9c7932a1099f1d632bfaaa49a6501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 1 Dec 2018 16:04:55 +0100 Subject: Adapted to new KPasswordEdit::password() signature. This relates to bug 2961. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- cervisia/cvsservice/cvsloginjob.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cervisia/cvsservice/cvsloginjob.cpp') diff --git a/cervisia/cvsservice/cvsloginjob.cpp b/cervisia/cvsservice/cvsloginjob.cpp index 5eb1d9fc..1c46b7de 100644 --- a/cervisia/cvsservice/cvsloginjob.cpp +++ b/cervisia/cvsservice/cvsloginjob.cpp @@ -113,14 +113,14 @@ bool CvsLoginJob::execute() // TODO: We really should display the repository name. Unfortunately // the dialog doesn't show part of the repository name, because // it's too long. :-( - TQCString password; + TQString password; int res = KPasswordDialog::getPassword(password, i18n("Please type " "in your password for the repository below.")); if( res == KPasswordDialog::Accepted ) { // send password to process m_Proc->WaitSlave(); - m_Proc->writeLine(password); + m_Proc->writeLine(password.local8Bit()); // wait for the result while( !line.contains(FAILURE_PHRASE) ) -- cgit v1.2.1