summaryrefslogtreecommitdiffstats
path: root/ksvg/ecma
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-05-26 21:05:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-05-26 21:05:23 +0900
commit5c454501e069730e9f9259315a2a06a448a78198 (patch)
tree8ff8aa2fc9dd77b67c4e8a47b20659f7e26a6c3a /ksvg/ecma
parente7a848c7aa5735cba4712d73f819a3e2b9883730 (diff)
downloadtdegraphics-5c454501e069730e9f9259315a2a06a448a78198.tar.gz
tdegraphics-5c454501e069730e9f9259315a2a06a448a78198.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksvg/ecma')
-rw-r--r--ksvg/ecma/ksvg_ecma.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksvg/ecma/ksvg_ecma.cpp b/ksvg/ecma/ksvg_ecma.cpp
index aa2af84b..905ba5bb 100644
--- a/ksvg/ecma/ksvg_ecma.cpp
+++ b/ksvg/ecma/ksvg_ecma.cpp
@@ -317,7 +317,7 @@ TQVariant KSVG::valueToVariant(ExecState *exec, const Value &val)
switch(val.type())
{
case BooleanType:
- res = TQVariant(val.toBoolean(exec), 0);
+ res = TQVariant(val.toBoolean(exec));
break;
case NumberType:
res = TQVariant(val.toNumber(exec));