summaryrefslogtreecommitdiffstats
path: root/pyuic2/domtool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pyuic2/domtool.cpp')
-rw-r--r--pyuic2/domtool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuic2/domtool.cpp b/pyuic2/domtool.cpp
index 108844e..8a0cff2 100644
--- a/pyuic2/domtool.cpp
+++ b/pyuic2/domtool.cpp
@@ -165,7 +165,7 @@ TQVariant DomTool::elementToVariant( const TQDomElement& e, const TQVariant& def
v = TQVariant( e.firstChild().toText().data().toInt() );
} 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" ) {