summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-10-30 14:56:10 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-10-31 13:04:39 +0100
commit99a3e8bcf2f9ed58589638fb6a9d4f2bdf3c6b91 (patch)
tree67eab63711e16c1a0794d94928755857586cb35f /src/timeline
parentSet version in msix (diff)
downloadnheko-99a3e8bcf2f9ed58589638fb6a9d4f2bdf3c6b91.tar.xz
Speed up compilation a bit
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/EventStore.cpp2
-rw-r--r--src/timeline/InputBar.cpp6
-rw-r--r--src/timeline/TimelineModel.cpp4
3 files changed, 8 insertions, 4 deletions
diff --git a/src/timeline/EventStore.cpp b/src/timeline/EventStore.cpp

index c47a3426..04e548f0 100644 --- a/src/timeline/EventStore.cpp +++ b/src/timeline/EventStore.cpp
@@ -7,6 +7,8 @@ #include <QThread> #include <QTimer> +#include <nlohmann/json.hpp> + #include <mtx/responses/common.hpp> #include "Cache.h" diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index fcec8e9c..bcb30aa0 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp
@@ -14,20 +14,20 @@ #include <QMediaPlayer> #include <QMimeData> #include <QMimeDatabase> +#include <QRegularExpression> #include <QStandardPaths> #include <QTextBoundaryFinder> #include <QVideoFrame> #include <QVideoSink> -#include <QRegularExpression> +#include <nlohmann/json.hpp> + #include <mtx/responses/common.hpp> #include <mtx/responses/media.hpp> #include "Cache.h" #include "Cache_p.h" #include "ChatPage.h" -#include "CombinedImagePackModel.h" -#include "Config.h" #include "EventAccessors.h" #include "Logging.h" #include "MatrixClient.h" diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp
index aefdc860..490641a6 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp
@@ -7,6 +7,7 @@ #include <algorithm> #include <thread> #include <type_traits> +#include <utility> #include <QClipboard> #include <QDesktopServices> @@ -17,7 +18,8 @@ #include <QRegularExpression> #include <QStandardPaths> #include <QVariant> -#include <utility> + +#include <nlohmann/json.hpp> #include "Cache.h" #include "Cache_p.h"