summary refs log tree commit diff
path: root/src/ChatPage.cc
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/ChatPage.cc
parentUpdate invites in the UI after sync (diff)
downloadnheko-4f6ffb6e73d53e36c0375386131d5c83f7a247f5.tar.xz
Fix CI errors
Diffstat (limited to 'src/ChatPage.cc')
-rw-r--r--src/ChatPage.cc3
1 files changed, 1 insertions, 2 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);