aboutsummaryrefslogtreecommitdiff
path: root/lib/events/eventcontent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-23 08:09:28 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-25 13:07:14 +0900
commite997f214562acf30ae8d4ea7132dde6e583ac6fe (patch)
treefbd0fb8ead5c6f32f9ee269a2bc6e3d111e362be /lib/events/eventcontent.h
parent25f8622bcdd4322ce9e41c34883cea5ff71a6817 (diff)
downloadlibquotient-e997f214562acf30ae8d4ea7132dde6e583ac6fe.tar.gz
libquotient-e997f214562acf30ae8d4ea7132dde6e583ac6fe.zip
RoomMessageEvent::content(): constify event content
Diffstat (limited to 'lib/events/eventcontent.h')
-rw-r--r--lib/events/eventcontent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/events/eventcontent.h b/lib/events/eventcontent.h
index c26cb931..e7656de5 100644
--- a/lib/events/eventcontent.h
+++ b/lib/events/eventcontent.h
@@ -25,6 +25,7 @@
#include <QtCore/QMimeType>
#include <QtCore/QSize>
#include <QtCore/QUrl>
+#include <QtCore/QMetaType>
namespace Quotient {
namespace EventContent {
@@ -276,3 +277,4 @@ namespace EventContent {
using FileContent = UrlWithThumbnailContent<FileInfo>;
} // namespace EventContent
} // namespace Quotient
+Q_DECLARE_METATYPE(const Quotient::EventContent::TypedBase*)