diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-23 08:09:28 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-25 13:07:14 +0900 |
commit | e997f214562acf30ae8d4ea7132dde6e583ac6fe (patch) | |
tree | fbd0fb8ead5c6f32f9ee269a2bc6e3d111e362be /lib/events/eventcontent.h | |
parent | 25f8622bcdd4322ce9e41c34883cea5ff71a6817 (diff) | |
download | libquotient-e997f214562acf30ae8d4ea7132dde6e583ac6fe.tar.gz libquotient-e997f214562acf30ae8d4ea7132dde6e583ac6fe.zip |
RoomMessageEvent::content(): constify event content
Diffstat (limited to 'lib/events/eventcontent.h')
-rw-r--r-- | lib/events/eventcontent.h | 2 |
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*) |