Browse Source

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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 3 months ago
parent
commit
e647ba2518
Signed by: Michele Calgaro <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/item.cpp

+ 1
- 1
src/item.cpp View File

@@ -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