From 4f6ffb6e73d53e36c0375386131d5c83f7a247f5 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 22 Apr 2018 15:37:23 +0300 Subject: Fix CI errors --- src/ChatPage.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ChatPage.cc') 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 #include -#include #include #include @@ -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); -- cgit 1.5.1