summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-08-30 13:34:40 (UTC)
committer harlekin <harlekin>2002-08-30 13:34:40 (UTC)
commit6fddd961f703acc7b60fb49d5da6ee1a0ab01019 (patch) (side-by-side diff)
treeff8652921450c3f59c6b97dac4590ed8588a9119
parent131ccdb3f2b18cdf6f0d7ce2eb9b31016ec3f1aa (diff)
downloadopie-6fddd961f703acc7b60fb49d5da6ee1a0ab01019.zip
opie-6fddd961f703acc7b60fb49d5da6ee1a0ab01019.tar.gz
opie-6fddd961f703acc7b60fb49d5da6ee1a0ab01019.tar.bz2
do not kill all applets when setting the time .-)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/settime.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/settings/netsystemtime/settime.cpp b/noncore/settings/netsystemtime/settime.cpp
index e3b2ddd..d1dc5b8 100644
--- a/noncore/settings/netsystemtime/settime.cpp
+++ b/noncore/settings/netsystemtime/settime.cpp
@@ -263,18 +263,18 @@ 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;
- QCopEnvelope timeApplet( "QPE/TaskBar", "reloadApplets()" );
- timeApplet << "";
+ //QCopEnvelope timeApplet( "QPE/TaskBar", "reloadApplets()" );
+ //timeApplet << "";
// Restore screensaver
QCopEnvelope enableScreenSaver( "QPE/System", "setScreenSaverIntervals(int,int,int)" );
enableScreenSaver << -1 << -1 << -1;
}
void SetDateTime::updateSystem(int i)
{
// really turn off the screensaver before doing anything
@@ -293,17 +293,17 @@ void SetDateTime::updateSystem(int i)
// AM/PM setting and notify time changed
QCopEnvelope setClock( "QPE/System", "clockChange(bool)" );
setClock << ampmCombo->currentItem();
// Notify everyone what day we prefer to start the week on.
QCopEnvelope setWeek( "QPE/System", "weekChange(bool)" );
setWeek << weekStartCombo->currentItem();
- // Notify everyone what date format to use
+ // Notify everyone what date format to use
QCopEnvelope setDateFormat( "QPE/System", "setDateFormat(DateFormat)" );
setDateFormat << date_formats[dateFormatCombo->currentItem()];
// 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