summaryrefslogtreecommitdiffstats
path: root/tdehtml/ecma/kjs_binding.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-05-24 12:02:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-05-24 12:02:07 +0900
commit352c8f6a2190a65107a30c42230b67018fc5625f (patch)
treeb8cc3b8b315387deb5c3428ce89a4e2e5da217d6 /tdehtml/ecma/kjs_binding.cpp
parent080948356f99f601ae4328ca01867547a412a376 (diff)
downloadtdelibs-352c8f6a2190a65107a30c42230b67018fc5625f.tar.gz
tdelibs-352c8f6a2190a65107a30c42230b67018fc5625f.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdehtml/ecma/kjs_binding.cpp')
-rw-r--r--tdehtml/ecma/kjs_binding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdehtml/ecma/kjs_binding.cpp b/tdehtml/ecma/kjs_binding.cpp
index d9f0b7b25..7e545a5a4 100644
--- a/tdehtml/ecma/kjs_binding.cpp
+++ b/tdehtml/ecma/kjs_binding.cpp
@@ -328,7 +328,7 @@ TQVariant KJS::ValueToVariant(ExecState* exec, const Value &val) {
TQVariant res;
switch (val.type()) {
case BooleanType:
- res = TQVariant(val.toBoolean(exec), 0);
+ res = TQVariant(val.toBoolean(exec));
break;
case NumberType:
res = TQVariant(val.toNumber(exec));