summaryrefslogtreecommitdiffstats
path: root/puic/domtool.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-05-26 01:02:21 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-05-26 01:06:53 +0900
commitdeae55568422b16bd4ed20d4a098b1a826828a2f (patch)
tree4357611b0265dd776531a40075722039a3727d59 /puic/domtool.cpp
parent2a86169cda75eb45bd4d3637f1db565edd657f22 (diff)
downloadlibtqt-perl-deae55568422b16bd4ed20d4a098b1a826828a2f.tar.gz
libtqt-perl-deae55568422b16bd4ed20d4a098b1a826828a2f.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'puic/domtool.cpp')
-rw-r--r--puic/domtool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puic/domtool.cpp b/puic/domtool.cpp
index 2ed5796..6c2809f 100644
--- a/puic/domtool.cpp
+++ b/puic/domtool.cpp
@@ -192,7 +192,7 @@ TQVariant DomTool::elementToVariant( const TQDomElement& e, const TQVariant& def
v = TQVariant( e.firstChild().toText().data().toDouble() );
} else if ( e.tagName() == "bool" ) {
TQString t = e.firstChild().toText().data();
- v = TQVariant( t == "true" || t == "1", 0 );
+ v = TQVariant( t == "true" || t == "1" );
} else if ( e.tagName() == "pixmap" ) {
v = TQVariant( e.firstChild().toText().data() );
} else if ( e.tagName() == "iconset" ) {