Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
[libcontacts] Correctly initialize status flags. Contributes to MER#1206
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewvogt committed Aug 4, 2015
1 parent 69d6ad4 commit c8b1dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seasidecache.h
Expand Up @@ -140,7 +140,7 @@ class CONTACTCACHE_EXPORT SeasideCache : public QObject

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) {}
Expand Down

0 comments on commit c8b1dc6

Please sign in to comment.