author | tille <tille> | 2002-06-26 12:45:03 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-26 12:45:03 (UTC) |
commit | 541bbcbb89a9e6a054fb545a82739c0bcf7804fe (patch) (side-by-side diff) | |
tree | e2d4278a88226849cc5d46d5f69502499dc94efc /noncore/settings/netsystemtime/settime.cpp | |
parent | 4b0e72bed1ead4e3c7af2209a11f34aa9209653c (diff) | |
download | opie-541bbcbb89a9e6a054fb545a82739c0bcf7804fe.zip opie-541bbcbb89a9e6a054fb545a82739c0bcf7804fe.tar.gz opie-541bbcbb89a9e6a054fb545a82739c0bcf7804fe.tar.bz2 |
settings...
Diffstat (limited to 'noncore/settings/netsystemtime/settime.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/settime.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/noncore/settings/netsystemtime/settime.cpp b/noncore/settings/netsystemtime/settime.cpp index b456012..2398c08 100644 --- a/noncore/settings/netsystemtime/settime.cpp +++ b/noncore/settings/netsystemtime/settime.cpp @@ -261,16 +261,16 @@ void SetDateTime::setTime(QDateTime dt) if ( myTv.tv_sec != -1 ) ::settimeofday( &myTv, 0 ); Global::writeHWClock(); + // since time has changed quickly load in the datebookdb + // to allow the alarm server to get a better grip on itself + // (example re-trigger alarms for when we travel back in time) + DateBookDB db; } void SetDateTime::updateSystem(int i) { qDebug("SetDateTime::updateSystem(int %i)",i); writeSettings(); - // since time has changed quickly load in the datebookdb - // to allow the alarm server to get a better grip on itself - // (example re-trigger alarms for when we travel back in time) - // DateBookDB db; // set the timezone for everyone else... QCopEnvelope setTimeZone( "QPE/System", "timeChange(QString)" ); @@ -291,6 +291,10 @@ void SetDateTime::updateSystem(int i) // Restore screensaver QCopEnvelope enableScreenSaver( "QPE/System", "setScreenSaverIntervals(int,int,int)" ); enableScreenSaver << -1 << -1 << -1; + // since time has changed quickly load in the datebookdb + // to allow the alarm server to get a better grip on itself + // (example re-trigger alarms for when we travel back in time) + DateBookDB db; } |