author | tille <tille> | 2002-06-27 22:28:03 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-27 22:28:03 (UTC) |
commit | 2f9c9f9dfe6aff27381a3c671bbd50870976677c (patch) (side-by-side diff) | |
tree | 28ea446384f0abc3b8c9b49d9631b46bd174b32d /noncore/settings/netsystemtime/settime.cpp | |
parent | 49710f20cf0e52ea3393027ed066f11e977e3457 (diff) | |
download | opie-2f9c9f9dfe6aff27381a3c671bbd50870976677c.zip opie-2f9c9f9dfe6aff27381a3c671bbd50870976677c.tar.gz opie-2f9c9f9dfe6aff27381a3c671bbd50870976677c.tar.bz2 |
conffile count
Diffstat (limited to 'noncore/settings/netsystemtime/settime.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/settime.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/settings/netsystemtime/settime.cpp b/noncore/settings/netsystemtime/settime.cpp index e7e604f..9c5323a 100644 --- a/noncore/settings/netsystemtime/settime.cpp +++ b/noncore/settings/netsystemtime/settime.cpp @@ -221,24 +221,27 @@ void SetDateTime::writeSettings() config.writeEntry( "ShortOrder", df.shortOrder()); config.writeEntry( "LongOrder", df.longOrder()); config.writeEntry( "ClockApplet", clockAppletCombo->currentItem() ); Config lconfig("locale"); lconfig.setGroup( "Location" ); lconfig.writeEntry( "Timezone", tz->currentZone() ); } void SetDateTime::commitTime() { + Config cfg("ntp",Config::User); + cfg.setGroup("lookups"); + cfg.writeEntry("lastNtp",false); tz->setFocus(); // Need to process the QCOP event generated above before proceeding qApp->processEvents(); // before we progress further, set our TZ! setenv( "TZ", tz->currentZone(), 1 ); // now set the time... QDateTime dt( dateButton->date(), timeButton->time() ); if ( dt.isValid() ) setTime(dt); } |