author | tille <tille> | 2002-07-01 17:12:30 (UTC) |
---|---|---|
committer | tille <tille> | 2002-07-01 17:12:30 (UTC) |
commit | fcdf02d10c738c95748f082eaf40cb47db6d2975 (patch) (unidiff) | |
tree | 96281f0d0b2a969815a3e67418c61783f9d134b1 | |
parent | dbdd9ea2e38fbe280fc4d648fbd3709e101d7eed (diff) | |
download | opie-fcdf02d10c738c95748f082eaf40cb47db6d2975.zip opie-fcdf02d10c738c95748f082eaf40cb47db6d2975.tar.gz opie-fcdf02d10c738c95748f082eaf40cb47db6d2975.tar.bz2 |
s
-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 3 |
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 | |||
@@ -162,9 +162,10 @@ void Ntp::ntpFinished(OProcess *p) | |||
162 | cfg.setGroup("lookup_"+QString::number(lookupCount)); | 162 | cfg.setGroup("lookup_"+QString::number(lookupCount)); |
163 | lookupCount++; | 163 | lookupCount++; |
164 | cfg.writeEntry("count",lookupCount); | ||
165 | _shiftPerSec = timeShift / secsSinceLast; | 164 | _shiftPerSec = timeShift / secsSinceLast; |
166 | qDebug("secs since last lookup %i", secsSinceLast);qDebug("timeshift since last lookup %f", timeShift);qDebug("timeshift since per sec %f", _shiftPerSec); | 165 | qDebug("secs since last lookup %i", secsSinceLast);qDebug("timeshift since last lookup %f", timeShift);qDebug("timeshift since per sec %f", _shiftPerSec); |
167 | cfg.writeEntry("secsSinceLast",secsSinceLast); | 166 | cfg.writeEntry("secsSinceLast",secsSinceLast); |
168 | cfg.writeEntry("timeShift",QString::number(timeShift)); | 167 | cfg.writeEntry("timeShift",QString::number(timeShift)); |
168 | cfg.setGroup("lookups"); | ||
169 | cfg.writeEntry("count",lookupCount); | ||
169 | cfg.writeEntry("lastNtp",true); | 170 | cfg.writeEntry("lastNtp",true); |
170 | } | 171 | } |