diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-09-08 21:08:54 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-09-08 21:08:54 +0200 |
commit | bbbda3fe9444eba6795a5490da0425cdf8f26361 (patch) | |
tree | d558ce110b71278df91135db5ac29c484e588ac5 /common/propertymapper.cpp | |
parent | 43ae43bc74800473aadf9c5c807603cdf8516d36 (diff) | |
download | sink-bbbda3fe9444eba6795a5490da0425cdf8f26361.tar.gz sink-bbbda3fe9444eba6795a5490da0425cdf8f26361.zip |
Added support for mails to akonadi and the dummyresource.
Adding new types definitely needs to become easier.
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 | |||