-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 10 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/settime.cpp | 0 |
2 files changed, 7 insertions, 3 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp index 2b779fa..15dae93 100644 --- a/noncore/settings/netsystemtime/ntp.cpp +++ b/noncore/settings/netsystemtime/ntp.cpp | |||
@@ -310,10 +310,14 @@ void Ntp::makeChannel() | |||
310 | 310 | ||
311 | void Ntp::receive(const QCString &msg, const QByteArray &arg) | 311 | void Ntp::receive(const QCString &msg, const QByteArray &arg) |
312 | { | 312 | { |
313 | qDebug("QCop "+msg+" "+QCString(arg)); | 313 | qDebug("QCop(Ntp) "+msg+" "+QCString(arg)); |
314 | if ( msg == "open(QString)" ) | 314 | if ( msg == "ntpLookup(QString)" ) |
315 | { | 315 | { |
316 | //qApp->exec(); | 316 | slotRunNtp(); |
317 | } | ||
318 | if ( msg == "setPredictedTime(QString)" ) | ||
319 | { | ||
320 | setPredictTime(); | ||
317 | }else{ | 321 | }else{ |
318 | qDebug("Ntp::receive: Huh what do ya want"); | 322 | qDebug("Ntp::receive: Huh what do ya want"); |
319 | } | 323 | } |
diff --git a/noncore/settings/netsystemtime/settime.cpp b/noncore/settings/netsystemtime/settime.cpp index 9c5323a..b0fcb74 100644 --- a/noncore/settings/netsystemtime/settime.cpp +++ b/noncore/settings/netsystemtime/settime.cpp | |||