summaryrefslogtreecommitdiff
path: root/noncore
Unidiff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp
index 40b5531..0b13b6d 100644
--- a/noncore/settings/netsystemtime/ntp.cpp
+++ b/noncore/settings/netsystemtime/ntp.cpp
@@ -19,2 +19,3 @@
19#include <qpe/qpedialog.h> 19#include <qpe/qpedialog.h>
20#include <qpe/datebookdb.h>
20#include <sys/time.h> 21#include <sys/time.h>
@@ -146,2 +147,9 @@ void Ntp::ntpFinished(OProcess *p)
146 } 147 }
148
149 Global::writeHWClock();
150 // since time has changed quickly load in the datebookdb
151 // to allow the alarm server to get a better grip on itself
152 // (example re-trigger alarms for when we travel back in time)
153 DateBookDB db;
154
147 Config cfg("ntp",Config::User); 155 Config cfg("ntp",Config::User);