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

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11 from matthewvogt/online-flag
[libcontacts] Use isOnline flag to select FilterOnline contacts
  • Loading branch information
matthewvogt committed Aug 7, 2013
2 parents 13aa1b8 + 56c4e34 commit 4ac0ef8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/seasidecache.cpp
Expand Up @@ -259,8 +259,7 @@ QContactFilter nonfavoriteFilter()

QContactFilter onlineFilter()
{
// Where presence is available
return QContactGlobalPresence::match(QContactPresence::PresenceAvailable);
return QContactStatusFlags::matchFlag(QContactStatusFlags::IsOnline);
}

QContactFilter aggregateFilter()
Expand Down

0 comments on commit 4ac0ef8

Please sign in to comment.