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

Commit

Permalink
Merge pull request #104 from matthewvogt/mer-1206
Browse files Browse the repository at this point in the history
[libcontacts] Correctly initialize status flags. Contributes to MER#1206
  • Loading branch information
matthewvogt committed Aug 4, 2015
2 parents 69d6ad4 + 428fc16 commit d9b8546
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 d9b8546

Please sign in to comment.