summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-22 15:37:23 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-22 15:37:23 +0300
commit4f6ffb6e73d53e36c0375386131d5c83f7a247f5 (patch)
treeef0b9c8d6744cc955d93e4b203553cde8214b5e8 /src
parentUpdate invites in the UI after sync (diff)
downloadnheko-4f6ffb6e73d53e36c0375386131d5c83f7a247f5.tar.xz
Fix CI errors
Diffstat (limited to 'src')
-rw-r--r--src/ChatPage.cc3
-rw-r--r--src/Utils.cc3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ChatPage.cc b/src/ChatPage.cc

index 110b8131..58a6fb4b 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc
@@ -17,7 +17,6 @@ #include <QApplication> #include <QDebug> -#include <QFuture> #include <QSettings> #include <QtConcurrent> @@ -531,7 +530,7 @@ ChatPage::syncCompleted(const mtx::responses::Sync &response) { syncTimeoutTimer_->stop(); - auto promise = QtConcurrent::run([this, res = std::move(response)]() { + QtConcurrent::run([this, res = std::move(response)]() { try { cache_->saveState(res); emit syncUI(res.rooms); diff --git a/src/Utils.cc b/src/Utils.cc
index 1c053d38..fd88d51c 100644 --- a/src/Utils.cc +++ b/src/Utils.cc
@@ -1,6 +1,7 @@ -#include "Cache.h" #include "Utils.h" +#include "Cache.h" + #include <variant.hpp> using TimelineEvent = mtx::events::collections::TimelineEvents;