profiles: do not constantly load contact's avatar
When a user has a lot of contacts, the memory is filled with profiles that aren't even shown. So, avoid to store the avatar into profileInfos and let the client manages this part to reduce memory usage. Change-Id: I33340436059153293e0c5c739d2b9d963935401a
Showing
- src/api/contactmodel.h 6 additions, 0 deletionssrc/api/contactmodel.h
- src/api/lrc.h 5 additions, 0 deletionssrc/api/lrc.h
- src/api/newaccountmodel.h 4 additions, 0 deletionssrc/api/newaccountmodel.h
- src/authority/storagehelper.cpp 29 additions, 3 deletionssrc/authority/storagehelper.cpp
- src/authority/storagehelper.h 8 additions, 0 deletionssrc/authority/storagehelper.h
- src/contactmodel.cpp 15 additions, 4 deletionssrc/contactmodel.cpp
- src/lrc.cpp 1 addition, 0 deletionssrc/lrc.cpp
- src/newaccountmodel.cpp 7 additions, 0 deletionssrc/newaccountmodel.cpp
- src/newcallmodel.cpp 2 additions, 0 deletionssrc/newcallmodel.cpp
Loading
Please register or sign in to comment