From ee4dcef90f285f49ee27fec13afb486d93781b8b Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Wed, 13 May 2020 00:35:26 -0400 Subject: Add new QML-based emoji picker (work in progress) This is necessary to support having a picker within QML. Eventually, this should replace the existing widget-based one. --- src/timeline/TimelineViewManager.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/timeline/TimelineViewManager.h') diff --git a/src/timeline/TimelineViewManager.h b/src/timeline/TimelineViewManager.h index eb2223e2..f5f57df4 100644 --- a/src/timeline/TimelineViewManager.h +++ b/src/timeline/TimelineViewManager.h @@ -1,5 +1,6 @@ #pragma once +#include #include #include #include @@ -12,6 +13,8 @@ #include "Logging.h" #include "TimelineModel.h" #include "Utils.h" +#include "emoji/EmojiModel.h" +#include "emoji/Provider.h" class MxcImageProvider; class BlurhashProvider; @@ -102,7 +105,8 @@ private: QHash> models; TimelineModel *timeline_ = nullptr; - bool isInitialSync_ = true; + + bool isInitialSync_ = true; QSharedPointer settings; QHash userColors; -- cgit 1.5.1