Commit d9b85466 authored by mvogt's avatar mvogt

Merge pull request #104 from matthewvogt/mer-1206

[libcontacts] Correctly initialize status flags. Contributes to MER#1206
parents 69d6ad41 428fc164
......@@ -140,7 +140,7 @@ public:
struct CacheItem
CacheItem() : itemData(0), iid(0), contactState(ContactAbsent), listeners(0) {}
CacheItem() : itemData(0), iid(0), statusFlags(0), contactState(ContactAbsent), listeners(0) {}
CacheItem(const QContact &contact)
: contact(contact), itemData(0), iid(internalId(contact)),
statusFlags(contact.detail<QContactStatusFlags>().flagsValue()), contactState(ContactAbsent), listeners(0) {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment