Adapted to new KPasswordEdit::password() signature.

This relates to bug 2961.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 6 years ago
parent b265fe17fc
commit 6cd96f828f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -717,11 +717,11 @@ static ParseNode f_inputText(Parser*, const ParameterList& params)
static ParseNode f_inputPassword(Parser*, const ParameterList& params) static ParseNode f_inputPassword(Parser*, const ParameterList& params)
{ {
TQCString value; TQString value;
if (params.count() > 1) if (params.count() > 1)
value = params[1].toString().local8Bit(); value = params[1].toString();
KPasswordDialog::getPassword(value, params[0].toString()); KPasswordDialog::getPassword(value, params[0].toString());
return TQString(TQString::fromLocal8Bit(value)); return value;
} }
static ParseNode f_inputValue(Parser*, const ParameterList& params) static ParseNode f_inputValue(Parser*, const ParameterList& params)

Loading…
Cancel
Save