summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/designer/rbuic/domtool.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-05-26 00:37:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-05-26 00:37:52 +0900
commit9055b21d6a4e7da5a959336eec39471b63490ee3 (patch)
tree2e164be46f1dc26250a649eeb151f2e05be1d9a7 /qtruby/rubylib/designer/rbuic/domtool.cpp
parent4fd9c591139bcdabe1cc290385bc5767b37b5ed5 (diff)
downloadtdebindings-9055b21d6a4e7da5a959336eec39471b63490ee3.tar.gz
tdebindings-9055b21d6a4e7da5a959336eec39471b63490ee3.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtruby/rubylib/designer/rbuic/domtool.cpp')
-rw-r--r--qtruby/rubylib/designer/rbuic/domtool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtruby/rubylib/designer/rbuic/domtool.cpp b/qtruby/rubylib/designer/rbuic/domtool.cpp
index 65ea3a71..0636caa1 100644
--- a/qtruby/rubylib/designer/rbuic/domtool.cpp
+++ b/qtruby/rubylib/designer/rbuic/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" ) {