diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-05-09 01:46:33 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-05-09 01:46:33 +0200 |
commit | 5b2672774a1a365e0596cba912c3ef98e7094212 (patch) | |
tree | 13fe71d7bf83bc4f6957cbfd6444e9c84b5719eb | |
parent | c402f3821f86c6281ceea8192680d6011d6c7630 (diff) | |
download | knetworkmanager8-5b2672774a1a365e0596cba912c3ef98e7094212.tar.gz knetworkmanager8-5b2672774a1a365e0596cba912c3ef98e7094212.zip |
Adapted to new KPasswordEdit::password() signature.
This relates to bug 2961.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp b/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp index a2c08e3..68b3adc 100644 --- a/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp +++ b/knetworkmanager-0.8/vpn-plugins/vpnc/src/knetworkmanager-vpnc.cpp @@ -365,7 +365,7 @@ TQMap<TQString, TQString> VPNCAuthentication::getPasswords() char decrypted_result[2048]; int i; - decryptcommand.append(_vpncAuth->editGroupPassword->password()); + decryptcommand.append(_vpncAuth->editGroupPassword->password().local8Bit()); printf("Group password decrypt command: %s\n", decryptcommand.c_str()); if ((pipe_decrypt = popen(decryptcommand.c_str(), "r")) == NULL) { |