From fcdf02d10c738c95748f082eaf40cb47db6d2975 Mon Sep 17 00:00:00 2001 From: tille Date: Mon, 01 Jul 2002 17:12:30 +0000 Subject: s --- (limited to 'noncore/settings/netsystemtime') 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 @@ -161,11 +161,12 @@ void Ntp::ntpFinished(OProcess *p) { cfg.setGroup("lookup_"+QString::number(lookupCount)); lookupCount++; - cfg.writeEntry("count",lookupCount); _shiftPerSec = timeShift / secsSinceLast; qDebug("secs since last lookup %i", secsSinceLast);qDebug("timeshift since last lookup %f", timeShift);qDebug("timeshift since per sec %f", _shiftPerSec); cfg.writeEntry("secsSinceLast",secsSinceLast); cfg.writeEntry("timeShift",QString::number(timeShift)); + cfg.setGroup("lookups"); + cfg.writeEntry("count",lookupCount); cfg.writeEntry("lastNtp",true); } } -- cgit v0.9.0.2