From c59cd0e80bcbf1e37b7d6b021275d4c8f90f1914 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 21 Jan 2018 21:43:21 +0200 Subject: Load the initial cache data without blocking the UI --- include/RoomState.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/RoomState.h') diff --git a/include/RoomState.h b/include/RoomState.h index 0e91410c..6f335263 100644 --- a/include/RoomState.h +++ b/include/RoomState.h @@ -77,6 +77,8 @@ private: QString userAvatar_; }; +Q_DECLARE_METATYPE(RoomState) + template void RoomState::updateFromEvents(const std::vector &collection) -- cgit 1.5.1