summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.cpp3
-rw-r--r--noncore/settings/netsystemtime/settime.cpp2
2 files changed, 5 insertions, 0 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
@@ -155,6 +155,9 @@ void Ntp::ntpFinished(OProcess *p)
// (example re-trigger alarms for when we travel back in time)
DateBookDB db;
+ QCopEnvelope timeApplet( "QPE/TaskBar", "reloadApplets()" );
+ timeApplet << "";
+
Config cfg("ntp",Config::User);
cfg.setGroup("lookups");
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)
// 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 << "";
// Restore screensaver
QCopEnvelope enableScreenSaver( "QPE/System", "setScreenSaverIntervals(int,int,int)" );
enableScreenSaver << -1 << -1 << -1;