diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-10 10:49:25 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-12 23:00:07 +0900 |
commit | f7eddb98158033ed79d94df8897c9cdc6e7837d8 (patch) | |
tree | e540b236e5cff35c0fb2a6ef00ef8fb9a99ef12f | |
parent | f8503c78763b634ba3e82ac49f42b80a47849629 (diff) | |
download | libquotient-f7eddb98158033ed79d94df8897c9cdc6e7837d8.tar.gz libquotient-f7eddb98158033ed79d94df8897c9cdc6e7837d8.zip |
Event/RoomEvent: use Q_DECLARE_METATYPE properly
-rw-r--r-- | events/event.h | 4 |
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*) |