From 371984144e7e5e17d5d4852fa8c2cfaacf46326f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 29 Oct 2019 16:20:52 +0100 Subject: [PATCH] Fix compatibility with R14.0.x API of KPasswordEdit::password(). This resolves FTBFS from commit 9e999becc0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdenetworkmanager/vpn-plugins/vpnc/src/tdenetman-vpnc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {