summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-05-29 12:04:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-05-29 12:04:19 +0900
commite647ba25182562c7f2523ffbd8c6c48408361089 (patch)
treeb2f80f27f8c2cc7b1ae010a056f959fab0c8f726
parentd00a9f0168515e10e7b525b105e7296cb5fc57d4 (diff)
downloadktechlab-e647ba25182562c7f2523ffbd8c6c48408361089.tar.gz
ktechlab-e647ba25182562c7f2523ffbd8c6c48408361089.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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();