summaryrefslogtreecommitdiff
path: root/daemon/watchconnector.h
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2015-05-13 14:10:43 +0200
committerAndrew Branson <andrew.branson@cern.ch>2015-05-13 14:10:43 +0200
commit67670934bef4ac7f41e6bc336f0ad9516fe2b28d (patch)
tree521a74d281dc76d16db2b7edc780e2bcee3a3fb3 /daemon/watchconnector.h
parentd966f3ae2e91915a376af70dd2a9a2c93390be58 (diff)
Auto-synchronize time
Sync on connect, then every four hours while connected.
Diffstat (limited to 'daemon/watchconnector.h')
-rw-r--r--daemon/watchconnector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/watchconnector.h b/daemon/watchconnector.h
index 4e6ed5d..f9576a3 100644
--- a/daemon/watchconnector.h
+++ b/daemon/watchconnector.h
@@ -261,6 +261,7 @@ private:
bool is_connected;
QByteArray writeData;
QTimer reconnectTimer;
+ QTimer timeSyncTimer;
QString _last_name;
QString _last_address;
WatchVersions _versions;