author | tille <tille> | 2002-09-03 17:03:09 (UTC) |
---|---|---|
committer | tille <tille> | 2002-09-03 17:03:09 (UTC) |
commit | cbaf36b21e8d469c7eb87fa9ab15e67401fb85c5 (patch) (side-by-side diff) | |
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 @@ -146,26 +146,26 @@ void Ntp::ntpFinished(OProcess *p) if (p->exitStatus()!=0 || !p->normalExit()) { slotProbeNtpServer(); return; } 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 << ""; Config cfg("ntp",Config::User); cfg.setGroup("lookups"); int lastLookup = cfg.readNumEntry("time",0); int lookupCount = cfg.readNumEntry("count",0); bool lastNtp = cfg.readBoolEntry("lastNtp",false); int time = TimeConversion::toUTC( QDateTime::currentDateTime() ); cfg.writeEntry("time", time); float timeShift = getTimeShift(); if (timeShift == 0.0) return; int secsSinceLast = time - lastLookup; @@ -320,13 +320,13 @@ void Ntp::receive(const QCString &msg, const QByteArray &arg) } if ( msg == "setPredictedTime(QString)" ) { setPredictTime(); }else{ qDebug("Ntp::receive: Huh what do ya want"); } } void Ntp::setDocument(const QString &fileName) { -}
\ No newline at end of file +} |