summaryrefslogtreecommitdiffstats
path: root/tools/designer/shared/domtool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/shared/domtool.cpp')
-rw-r--r--tools/designer/shared/domtool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/shared/domtool.cpp b/tools/designer/shared/domtool.cpp
index 4baf19412..499ee562f 100644
--- a/tools/designer/shared/domtool.cpp
+++ b/tools/designer/shared/domtool.cpp
@@ -199,7 +199,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" ) {