summaryrefslogtreecommitdiffstats
path: root/vcs/subversion/kdevsvnd.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-12-02 00:35:50 +0900
committerMichele Calgaro <[email protected]>2018-12-02 00:35:50 +0900
commitffaea4da9ce34f36672d59a1678bf81f38435317 (patch)
treeb62c8518c3a0a9f37c8bdf0e18dee3188e13bf71 /vcs/subversion/kdevsvnd.cpp
parent462aa443abab5ff916d11bdec0cc5a094d3e1fbd (diff)
downloadtdevelop-ffaea4da9ce34f36672d59a1678bf81f38435317.tar.gz
tdevelop-ffaea4da9ce34f36672d59a1678bf81f38435317.zip
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'vcs/subversion/kdevsvnd.cpp')
-rw-r--r--vcs/subversion/kdevsvnd.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/vcs/subversion/kdevsvnd.cpp b/vcs/subversion/kdevsvnd.cpp
index c1faf65e..1fc4afc8 100644
--- a/vcs/subversion/kdevsvnd.cpp
+++ b/vcs/subversion/kdevsvnd.cpp
@@ -74,16 +74,17 @@ TQString KDevSvnd::sslCertFile()
TQString fileName = KFileDialog::getOpenFileName(TQString(),TQString(),0, i18n("Open SSL certificate file"));
return fileName;
}
-TQCString KDevSvnd::sslPasswdDlg(TQString promptMsg)
+
+TQString KDevSvnd::sslPasswdDlg(TQString promptMsg)
{
- TQCString passwd;
+ TQString passwd;
int ret = KPasswordDialog::getPassword( passwd,promptMsg );
if( ret == KPasswordDialog::Accepted ){
- TQCString retstr;
+ TQString retstr;
retstr.setNum(1);
return retstr + passwd;
} else{
- TQCString nullstr;
+ TQString nullstr;
nullstr.setNum(-1);
return nullstr;
}