diff options
author | Michele Calgaro <[email protected]> | 2019-05-29 12:04:19 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-05-29 12:04:19 +0900 |
commit | e647ba25182562c7f2523ffbd8c6c48408361089 (patch) | |
tree | b2f80f27f8c2cc7b1ae010a056f959fab0c8f726 | |
parent | d00a9f0168515e10e7b525b105e7296cb5fc57d4 (diff) | |
download | ktechlab-e647ba25182562c7f2523ffbd8c6c48408361089.tar.gz ktechlab-e647ba25182562c7f2523ffbd8c6c48408361089.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/item.cpp | 2 |
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(); |