diff options
Diffstat (limited to 'common/propertymapper.cpp')
-rw-r--r-- | common/propertymapper.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/propertymapper.cpp b/common/propertymapper.cpp index 89495ae..7ff072a 100644 --- a/common/propertymapper.cpp +++ b/common/propertymapper.cpp | |||
@@ -38,3 +38,9 @@ QVariant propertyToVariant<QString>(const flatbuffers::String *property) | |||
38 | return QVariant(); | 38 | return QVariant(); |
39 | } | 39 | } |
40 | 40 | ||
41 | template <> | ||
42 | QVariant propertyToVariant<bool>(uint8_t property) | ||
43 | { | ||
44 | return static_cast<bool>(property); | ||
45 | } | ||
46 | |||