summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp
index bcbf7a1..b2f5332 100644
--- a/noncore/settings/netsystemtime/ntp.cpp
+++ b/noncore/settings/netsystemtime/ntp.cpp
@@ -261,18 +261,17 @@ void Ntp::slotCheckNtp(int i)
261 connect( ButtonSetTime, SIGNAL(clicked()), SLOT(setPredictTime()) ); 261 connect( ButtonSetTime, SIGNAL(clicked()), SLOT(setPredictTime()) );
262 connect( ntpTimer, SIGNAL( timeout() ), SLOT(slotProbeNtpServer()) ); 262 connect( ntpTimer, SIGNAL( timeout() ), SLOT(slotProbeNtpServer()) );
263 } 263 }
264 //ntpTimer->start(SpinBoxNtpDelay->value()*1000*60); 264 //ntpTimer->start(SpinBoxNtpDelay->value()*1000*60);
265} 265}
266 266
267void Ntp::slotProbeNtpServer() 267void Ntp::slotProbeNtpServer()
268{ 268{
269 if ( ntpDelayElapsed() ) 269 ntpSock->connectToHost( getNtpServer() ,123);
270 ntpSock->connectToHost( getNtpServer() ,123);
271} 270}
272 271
273void Ntp::slotNtpDelayChanged(int delay) 272void Ntp::slotNtpDelayChanged(int delay)
274{ 273{
275 ntpTimer->changeInterval( delay*1000*60 ); 274 ntpTimer->changeInterval( delay*1000*60 );
276} 275}
277 276
278void Ntp::ntpOutPut(QString out) 277void Ntp::ntpOutPut(QString out)