summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/item.cpp2
1 files changed, 1 insertions, 1 deletions
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();