summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp
index 7971f9a..40b5531 100644
--- a/noncore/settings/netsystemtime/ntp.cpp
+++ b/noncore/settings/netsystemtime/ntp.cpp
@@ -163,3 +163,2 @@ void Ntp::ntpFinished(OProcess *p)
lookupCount++;
- cfg.writeEntry("count",lookupCount);
_shiftPerSec = timeShift / secsSinceLast;
@@ -168,2 +167,4 @@ void Ntp::ntpFinished(OProcess *p)
cfg.writeEntry("timeShift",QString::number(timeShift));
+ cfg.setGroup("lookups");
+ cfg.writeEntry("count",lookupCount);
cfg.writeEntry("lastNtp",true);