author | tille <tille> | 2002-09-03 17:03:09 (UTC) |
---|---|---|
committer | tille <tille> | 2002-09-03 17:03:09 (UTC) |
commit | cbaf36b21e8d469c7eb87fa9ab15e67401fb85c5 (patch) (unidiff) | |
tree | 9e3210522cef2f5d21405d177c25d64e35d4d83b | |
parent | 00167bff9a1fff9ec36b9eb7c518a735e1a5b42c (diff) | |
download | opie-cbaf36b21e8d469c7eb87fa9ab15e67401fb85c5.zip opie-cbaf36b21e8d469c7eb87fa9ab15e67401fb85c5.tar.gz opie-cbaf36b21e8d469c7eb87fa9ab15e67401fb85c5.tar.bz2 |
fixed vanishing applets bug, that is avoided it by not calling
qcop QPE/taskbar reloadApplets()
-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp index 6c5aaf5..9572993 100644 --- a/noncore/settings/netsystemtime/ntp.cpp +++ b/noncore/settings/netsystemtime/ntp.cpp | |||
@@ -152,14 +152,14 @@ void Ntp::ntpFinished(OProcess *p) | |||
152 | Global::writeHWClock(); | 152 | Global::writeHWClock(); |
153 | // since time has changed quickly load in the datebookdb | 153 | // since time has changed quickly load in the datebookdb |
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()" ); | 158 | // QCopEnvelope timeApplet( "QPE/TaskBar", "reloadApplets()" ); |
159 | timeApplet << ""; | 159 | // timeApplet << ""; |
160 | 160 | ||
161 | Config cfg("ntp",Config::User); | 161 | Config cfg("ntp",Config::User); |
162 | cfg.setGroup("lookups"); | 162 | cfg.setGroup("lookups"); |
163 | int lastLookup = cfg.readNumEntry("time",0); | 163 | int lastLookup = cfg.readNumEntry("time",0); |
164 | int lookupCount = cfg.readNumEntry("count",0); | 164 | int lookupCount = cfg.readNumEntry("count",0); |
165 | bool lastNtp = cfg.readBoolEntry("lastNtp",false); | 165 | bool lastNtp = cfg.readBoolEntry("lastNtp",false); |
@@ -326,7 +326,7 @@ void Ntp::receive(const QCString &msg, const QByteArray &arg) | |||
326 | } | 326 | } |
327 | } | 327 | } |
328 | 328 | ||
329 | void Ntp::setDocument(const QString &fileName) | 329 | void Ntp::setDocument(const QString &fileName) |
330 | { | 330 | { |
331 | 331 | ||
332 | } \ No newline at end of file | 332 | } |