diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-04-22 15:37:23 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-04-22 15:37:23 +0300 |
commit | 4f6ffb6e73d53e36c0375386131d5c83f7a247f5 (patch) | |
tree | ef0b9c8d6744cc955d93e4b203553cde8214b5e8 /src/ChatPage.cc | |
parent | Update invites in the UI after sync (diff) | |
download | nheko-4f6ffb6e73d53e36c0375386131d5c83f7a247f5.tar.xz |
Fix CI errors
Diffstat (limited to 'src/ChatPage.cc')
-rw-r--r-- | src/ChatPage.cc | 3 |
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); |