summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-10-29 16:20:52 +0100
committerSlávek Banko <[email protected]>2019-10-29 16:20:52 +0100
commit371984144e7e5e17d5d4852fa8c2cfaacf46326f (patch)
treea07a086b059ea1e06ce39a4d15c2075347317702
parent8044a4da3ba090d7dd775e5ac719397e126b5e61 (diff)
downloadtdenetworkmanager-371984144e7e5e17d5d4852fa8c2cfaacf46326f.tar.gz
tdenetworkmanager-371984144e7e5e17d5d4852fa8c2cfaacf46326f.zip
Fix compatibility with R14.0.x API of KPasswordEdit::password().
This resolves FTBFS from commit 9e999becc0. Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r--tdenetworkmanager/vpn-plugins/vpnc/src/tdenetman-vpnc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdenetworkmanager/vpn-plugins/vpnc/src/tdenetman-vpnc.cpp b/tdenetworkmanager/vpn-plugins/vpnc/src/tdenetman-vpnc.cpp
index 4ed746b..1b818d4 100644
--- a/tdenetworkmanager/vpn-plugins/vpnc/src/tdenetman-vpnc.cpp
+++ b/tdenetworkmanager/vpn-plugins/vpnc/src/tdenetman-vpnc.cpp
@@ -398,7 +398,7 @@ TDENetworkSettingsMap VPNCAuthentication::getPasswords()
char decrypted_result[2048];
int i;
- decryptcommand.append(_vpncAuth->editGroupPassword->password().local8Bit());
+ decryptcommand.append(TQString::fromUtf8(_vpncAuth->editGroupPassword->password()).local8Bit());
printf("Group password decrypt command: %s\n", decryptcommand.c_str());
if ((pipe_decrypt = popen(decryptcommand.c_str(), "r")) == NULL)
{