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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 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 )
{
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();

Loading…
Cancel
Save