-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 5 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/settime.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp index 15dae93..6c5aaf5 100644 --- a/noncore/settings/netsystemtime/ntp.cpp +++ b/noncore/settings/netsystemtime/ntp.cpp | |||
@@ -154,7 +154,10 @@ void Ntp::ntpFinished(OProcess *p) | |||
154 | // to allow the alarm server to get a better grip on itself | 154 | // to allow the alarm server to get a better grip on itself |
155 | // (example re-trigger alarms for when we travel back in time) | 155 | // (example re-trigger alarms for when we travel back in time) |
156 | DateBookDB db; | 156 | DateBookDB db; |
157 | 157 | ||
158 | QCopEnvelope timeApplet( "QPE/TaskBar", "reloadApplets()" ); | ||
159 | timeApplet << ""; | ||
160 | |||
158 | Config cfg("ntp",Config::User); | 161 | Config cfg("ntp",Config::User); |
159 | cfg.setGroup("lookups"); | 162 | cfg.setGroup("lookups"); |
160 | int lastLookup = cfg.readNumEntry("time",0); | 163 | int lastLookup = cfg.readNumEntry("time",0); |
diff --git a/noncore/settings/netsystemtime/settime.cpp b/noncore/settings/netsystemtime/settime.cpp index b0fcb74..e3b2ddd 100644 --- a/noncore/settings/netsystemtime/settime.cpp +++ b/noncore/settings/netsystemtime/settime.cpp | |||
@@ -268,6 +268,8 @@ void SetDateTime::setTime(QDateTime dt) | |||
268 | // to allow the alarm server to get a better grip on itself | 268 | // to allow the alarm server to get a better grip on itself |
269 | // (example re-trigger alarms for when we travel back in time) | 269 | // (example re-trigger alarms for when we travel back in time) |
270 | DateBookDB db; | 270 | DateBookDB db; |
271 | QCopEnvelope timeApplet( "QPE/TaskBar", "reloadApplets()" ); | ||
272 | timeApplet << ""; | ||
271 | // Restore screensaver | 273 | // Restore screensaver |
272 | QCopEnvelope enableScreenSaver( "QPE/System", "setScreenSaverIntervals(int,int,int)" ); | 274 | QCopEnvelope enableScreenSaver( "QPE/System", "setScreenSaverIntervals(int,int,int)" ); |
273 | enableScreenSaver << -1 << -1 << -1; | 275 | enableScreenSaver << -1 << -1 << -1; |