Fix compatibility with R14.0.x API of KPasswordEdit::password().

This resolves FTBFS from commit 9e999becc0.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
r14.0.x
Slávek Banko 5 years ago
parent 8044a4da3b
commit 371984144e
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -398,7 +398,7 @@ TDENetworkSettingsMap VPNCAuthentication::getPasswords()
char decrypted_result[2048]; char decrypted_result[2048];
int i; 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()); printf("Group password decrypt command: %s\n", decryptcommand.c_str());
if ((pipe_decrypt = popen(decryptcommand.c_str(), "r")) == NULL) if ((pipe_decrypt = popen(decryptcommand.c_str(), "r")) == NULL)
{ {

Loading…
Cancel
Save