aboutsummaryrefslogtreecommitdiff
path: root/events/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'events/event.h')
-rw-r--r--events/event.h4
1 files changed, 2 insertions, 2 deletions
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<ContentT> _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*)