summaryrefslogtreecommitdiffstats
path: root/pyuic3/domtool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pyuic3/domtool.cpp')
-rw-r--r--pyuic3/domtool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuic3/domtool.cpp b/pyuic3/domtool.cpp
index 74d024f..740088e 100644
--- a/pyuic3/domtool.cpp
+++ b/pyuic3/domtool.cpp
@@ -186,7 +186,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" ) {