Load the initial cache data without blocking the UI
This commit is contained in:
parent
c123bada94
commit
c59cd0e80b
5 changed files with 52 additions and 37 deletions
|
|
@ -77,6 +77,8 @@ private:
|
|||
QString userAvatar_;
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(RoomState)
|
||||
|
||||
template<class Collection>
|
||||
void
|
||||
RoomState::updateFromEvents(const std::vector<Collection> &collection)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue