Branch: master

e647ba25 2019-05-29 03:04:19 Michele Calgaro
Adjusted to latest TQVariant::TQVariant(bool) function.

Signed-off-by: Michele Calgaro <michele.calgaro@...>
M src/item.cpp

src/item.cpp

diff --git a/src/item.cpp b/src/item.cpp
index d887a50..2e6ca76 100644
--- a/src/item.cpp
+++ b/src/item.cpp
@@ -244,7 +244,7 @@
 	for ( BoolMap::const_iterator it = itemData.dataBool.begin(); it != boolEnd; ++it )
 	{
 		if ( hasProperty(it.key()) )
-			property( it.key() )->setValue( TQVariant( it.data(), 0 ) );
+			property( it.key() )->setValue( TQVariant( it.data() ) );
 	}
 	
 	const TQBitArrayMap::const_iterator rawEnd = itemData.dataRaw.end();