aboutsummaryrefslogtreecommitdiff
path: root/lib/events
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events')
-rw-r--r--lib/events/eventcontent.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/events/eventcontent.h b/lib/events/eventcontent.h
index 78c5b287..1d81bd72 100644
--- a/lib/events/eventcontent.h
+++ b/lib/events/eventcontent.h
@@ -10,6 +10,7 @@
#include <QtCore/QMimeType>
#include <QtCore/QSize>
#include <QtCore/QUrl>
+#include <QtCore/QMetaType>
class QFileInfo;
@@ -153,13 +154,13 @@ namespace EventContent {
class TypedBase : public Base {
public:
- explicit TypedBase(QJsonObject o = {}) : Base(std::move(o)) {}
virtual QMimeType type() const = 0;
virtual const FileInfo* fileInfo() const { return nullptr; }
virtual FileInfo* fileInfo() { return nullptr; }
virtual const Thumbnail* thumbnailInfo() const { return nullptr; }
protected:
+ explicit TypedBase(QJsonObject o = {}) : Base(std::move(o)) {}
using Base::Base;
};