summaryrefslogtreecommitdiff
path: root/plugins/FavContacts/src/favlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FavContacts/src/favlist.h')
-rw-r--r--plugins/FavContacts/src/favlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FavContacts/src/favlist.h b/plugins/FavContacts/src/favlist.h
index 52c1679edf..c1836b44d6 100644
--- a/plugins/FavContacts/src/favlist.h
+++ b/plugins/FavContacts/src/favlist.h
@@ -111,7 +111,7 @@ public:
nGroups = 1;
- for (auto &hContact : contact_iter())
+ for (auto &hContact : Contacts())
if (db_get_b(hContact, "FavContacts", "IsFavourite", 0))
addContact(hContact, true);