From 9b60fdd620d5091377cca2163b97f856aedd7dca Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Fri, 20 Oct 2017 21:21:04 +0300 Subject: Remove sync timer --- include/ChatPage.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/ChatPage.h b/include/ChatPage.h index be8fc12c..e8a40ade 100644 --- a/include/ChatPage.h +++ b/include/ChatPage.h @@ -37,7 +37,6 @@ constexpr int CONSENSUS_TIMEOUT = 1000; constexpr int SHOW_CONTENT_TIMEOUT = 3000; -constexpr int SYNC_INTERVAL = 2000; class ChatPage : public QWidget { @@ -66,7 +65,6 @@ private slots: void syncCompleted(const SyncResponse &response); void syncFailed(const QString &msg); void changeTopRoomInfo(const QString &room_id); - void startSync(); void logout(); void addRoom(const QString &room_id); void removeRoom(const QString &room_id); @@ -106,7 +104,6 @@ private: // Safety net if consensus is not possible or too slow. QTimer *showContentTimer_; QTimer *consensusTimer_; - QTimer *syncTimer_; QString current_room_; QMap room_avatars_; -- cgit 1.5.1