From f7eddb98158033ed79d94df8897c9cdc6e7837d8 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 10 Jan 2018 10:49:25 +0900 Subject: Event/RoomEvent: use Q_DECLARE_METATYPE properly --- events/event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'events') diff --git a/events/event.h b/events/event.h index 319c3443..6ed5ba49 100644 --- a/events/event.h +++ b/events/event.h @@ -290,7 +290,7 @@ namespace QMatrixClient QScopedPointer _prev; }; } // namespace QMatrixClient -Q_DECLARE_OPAQUE_POINTER(QMatrixClient::Event*) Q_DECLARE_METATYPE(QMatrixClient::Event*) -Q_DECLARE_OPAQUE_POINTER(QMatrixClient::RoomEvent*) Q_DECLARE_METATYPE(QMatrixClient::RoomEvent*) +Q_DECLARE_METATYPE(const QMatrixClient::Event*) +Q_DECLARE_METATYPE(const QMatrixClient::RoomEvent*) -- cgit v1.2.3