author | drw <drw> | 2003-03-29 22:32:58 (UTC) |
---|---|---|
committer | drw <drw> | 2003-03-29 22:32:58 (UTC) |
commit | 340cb7e64fb898966996b00b93c03ca05a347aa5 (patch) (unidiff) | |
tree | 0db7548e03ba94e8a71fc73a98fbe74544043062 /noncore/settings | |
parent | 4e17e397c6df9e4e1ac6ee8315bbbced3e3b3b49 (diff) | |
download | opie-340cb7e64fb898966996b00b93c03ca05a347aa5.zip opie-340cb7e64fb898966996b00b93c03ca05a347aa5.tar.gz opie-340cb7e64fb898966996b00b93c03ca05a347aa5.tar.bz2 |
Fix for bug #701 - update time and date controls on Main tab after retrieving time from ntpdate.
-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp index aecefc1..f653cd0 100644 --- a/noncore/settings/netsystemtime/ntp.cpp +++ b/noncore/settings/netsystemtime/ntp.cpp | |||
@@ -23,2 +23,3 @@ | |||
23 | #include <qpe/datebookdb.h> | 23 | #include <qpe/datebookdb.h> |
24 | #include <qpe/datebookmonth.h> | ||
24 | #include <qpe/qcopenvelope_qws.h> | 25 | #include <qpe/qcopenvelope_qws.h> |
@@ -225,2 +226,6 @@ void Ntp::ntpFinished(OProcess *p) | |||
225 | TextLabelTimeShift->setText(QString::number(timeShift)+tr(" seconds")); | 226 | TextLabelTimeShift->setText(QString::number(timeShift)+tr(" seconds")); |
227 | |||
228 | dateButton->setDate( QDate::currentDate() ); | ||
229 | timeButton->setTime( QDateTime::currentDateTime() ); | ||
230 | |||
226 | if ( lastNtp && lastLookup > 0 && secsSinceLast > 60* SpinBoxMinLookupDelay->value()) | 231 | if ( lastNtp && lastLookup > 0 && secsSinceLast > 60* SpinBoxMinLookupDelay->value()) |