diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-27 14:39:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-27 14:39:31 +0900 |
commit | 845e845efe87d0f1d3ecb60a42a0b8e33bc873b1 (patch) | |
tree | 8015e65a5d56e511d267f69b96c2cde22070f070 /kommander/factory/domtool.cpp | |
parent | 6f7662c399472627dbc7e3dc719e77beba8a140f (diff) | |
download | tdewebdev-845e845efe87d0f1d3ecb60a42a0b8e33bc873b1.tar.gz tdewebdev-845e845efe87d0f1d3ecb60a42a0b8e33bc873b1.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kommander/factory/domtool.cpp')
-rw-r--r-- | kommander/factory/domtool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kommander/factory/domtool.cpp b/kommander/factory/domtool.cpp index 40190ff1..56a98a69 100644 --- a/kommander/factory/domtool.cpp +++ b/kommander/factory/domtool.cpp @@ -177,7 +177,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" ) { |