diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-12 18:53:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-12 18:53:26 +0300 |
commit | 376f5d4859ba96bff4a3c4d7c9622664b9e578d7 (patch) | |
tree | 9acdeae557a62624cc8287534f5d6eafc7c6aefb /plugins | |
parent | ba4509bbbac4a2db8ff44f3fc6059d2543d6aeae (diff) |
db_get_current() also returns MDatabaseCommon*
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/FavContacts/src/favlist.h | 4 |
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;
|