diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-12-01 16:40:32 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-12-01 16:40:32 +0100 |
commit | 6cd96f828fa4708db233f457712c9d61b360c20e (patch) | |
tree | ff4c6d382a99b77daf5f6927055da71ac4af686e /kommander/widget | |
parent | b265fe17fcdad077d7796761dd5ae2a674680dbb (diff) | |
download | tdewebdev-6cd96f828fa4708db233f457712c9d61b360c20e.tar.gz tdewebdev-6cd96f828fa4708db233f457712c9d61b360c20e.zip |
Adapted to new KPasswordEdit::password() signature.
This relates to bug 2961.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kommander/widget')
-rw-r--r-- | kommander/widget/functionlib.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/widget/functionlib.cpp b/kommander/widget/functionlib.cpp index cd7b6f4c..b0579897 100644 --- a/kommander/widget/functionlib.cpp +++ b/kommander/widget/functionlib.cpp @@ -717,11 +717,11 @@ static ParseNode f_inputText(Parser*, const ParameterList& params) static ParseNode f_inputPassword(Parser*, const ParameterList& params) { - TQCString value; + TQString value; if (params.count() > 1) - value = params[1].toString().local8Bit(); + value = params[1].toString(); KPasswordDialog::getPassword(value, params[0].toString()); - return TQString(TQString::fromLocal8Bit(value)); + return value; } static ParseNode f_inputValue(Parser*, const ParameterList& params) |