Adjusted to latest TQVariant::TQVariant(bool) function.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 5 years ago
parent d00a9f0168
commit e647ba2518
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -244,7 +244,7 @@ void Item::restoreFromItemData( const ItemData &itemData )
for ( BoolMap::const_iterator it = itemData.dataBool.begin(); it != boolEnd; ++it ) for ( BoolMap::const_iterator it = itemData.dataBool.begin(); it != boolEnd; ++it )
{ {
if ( hasProperty(it.key()) ) 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(); const TQBitArrayMap::const_iterator rawEnd = itemData.dataRaw.end();

Loading…
Cancel
Save