From e647ba25182562c7f2523ffbd8c6c48408361089 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 29 May 2019 12:04:19 +0900 Subject: [PATCH] Adjusted to latest TQVariant::TQVariant(bool) function. Signed-off-by: Michele Calgaro --- src/item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ void Item::restoreFromItemData( const ItemData &itemData ) 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();