summaryrefslogtreecommitdiffstats
path: root/src/manageciscocert.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-12-03 22:42:47 +0900
committerMichele Calgaro <[email protected]>2018-12-03 22:42:47 +0900
commitec259d1e7d621683a6bcbb3e284c3cf7a50157c9 (patch)
treeefe02fd8f984ddd5ffd279e1c4b754ed277b7eb9 /src/manageciscocert.cpp
parentbb9422313746429bf575490cb1dfcbf253236a1b (diff)
downloadkvpnc-ec259d1e7d621683a6bcbb3e284c3cf7a50157c9.tar.gz
kvpnc-ec259d1e7d621683a6bcbb3e284c3cf7a50157c9.zip
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.git
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/manageciscocert.cpp')
-rw-r--r--src/manageciscocert.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manageciscocert.cpp b/src/manageciscocert.cpp
index dc336f1..3c78ce4 100644
--- a/src/manageciscocert.cpp
+++ b/src/manageciscocert.cpp
@@ -103,7 +103,7 @@ void ManageCiscoCert::deleteCertClicked()
if ( GlobalConfig->KvpncDebugLevel > 2 )
GlobalConfig->appendLogEntry ( i18n ( "Process (%1) started." ).arg ("cisco_cert_mgr" ),GlobalConfig->debug );
- TQCString password;
+ TQString password;
int result = KPasswordDialog::getPassword(password, i18n("Certificate password"));
if (result == KPasswordDialog::Accepted)
@@ -112,7 +112,7 @@ void ManageCiscoCert::deleteCertClicked()
if ( GlobalConfig->KvpncDebugLevel > 2 )
GlobalConfig->appendLogEntry ( i18n ( "Certicate password got from user, send it..." ),GlobalConfig->debug );
- DeleteProcess->writeToStdin( TQString(password)+"\n");
+ DeleteProcess->writeToStdin( password+"\n");
while (DeleteProcess->isRunning())
{
sleep(1);