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