diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-26 21:05:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-26 21:05:23 +0900 |
commit | 5c454501e069730e9f9259315a2a06a448a78198 (patch) | |
tree | 8ff8aa2fc9dd77b67c4e8a47b20659f7e26a6c3a | |
parent | e7a848c7aa5735cba4712d73f819a3e2b9883730 (diff) | |
download | tdegraphics-5c454501e069730e9f9259315a2a06a448a78198.tar.gz tdegraphics-5c454501e069730e9f9259315a2a06a448a78198.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | ksvg/ecma/ksvg_ecma.cpp | 2 |
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)); |