summaryrefslogtreecommitdiff
path: root/plugins/Dbx_tree/src/DataBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_tree/src/DataBase.cpp')
-rw-r--r--plugins/Dbx_tree/src/DataBase.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Dbx_tree/src/DataBase.cpp b/plugins/Dbx_tree/src/DataBase.cpp
index 683f0b66a8..465ceae643 100644
--- a/plugins/Dbx_tree/src/DataBase.cpp
+++ b/plugins/Dbx_tree/src/DataBase.cpp
@@ -243,6 +243,11 @@ int CDataBase::OpenDB()
*m_Entities,
*m_Settings);
+ for (MCONTACT id = m_Entities->compFirstContact(); id != 0; id = m_Entities->compNextContact(id)) {
+ DBCachedContact *cc = m_cache->AddContactToCache(id);
+ CheckProto(cc, "");
+ }
+
return 0;
}