summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/FavContacts/src/favlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FavContacts/src/favlist.h b/plugins/FavContacts/src/favlist.h
index 58c5b5cc01..6581193ec9 100644
--- a/plugins/FavContacts/src/favlist.h
+++ b/plugins/FavContacts/src/favlist.h
@@ -67,11 +67,11 @@ class TFavContacts : public LIST < TContactInfo >
private:
int nGroups;
wchar_t *prevGroup;
- MIDatabase *db;
+ MDatabaseCommon *db;
int addContact(MCONTACT hContact, bool bManual)
{
- DBCachedContact *cc = db->m_cache->GetCachedContact(hContact);
+ DBCachedContact *cc = db->getCache()->GetCachedContact(hContact);
if (cc == nullptr)
return 0;