summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/mainwindow.cpp b/noncore/settings/netsystemtime/mainwindow.cpp
index 01d9a98..1f9f8c3 100644
--- a/noncore/settings/netsystemtime/mainwindow.cpp
+++ b/noncore/settings/netsystemtime/mainwindow.cpp
@@ -308,25 +308,25 @@ void MainWindow::slotNtpOutput( OProcess *, char *buffer, int buflen )
308void MainWindow::slotNtpFinished( OProcess *p ) 308void MainWindow::slotNtpFinished( OProcess *p )
309{ 309{
310 QString output; 310 QString output;
311 QDateTime dt = QDateTime::currentDateTime(); 311 QDateTime dt = QDateTime::currentDateTime();
312 312
313 // Re-enable set time buttons & change app caption to indicate time update is happening 313 // Re-enable set time buttons & change app caption to indicate time update is happening
314 if ( ntpTabEnabled ) 314 if ( ntpTabEnabled )
315 ntpTab->setNTPBtnEnabled( true ); 315 ntpTab->setNTPBtnEnabled( true );
316 timeTab->setNTPBtnEnabled( true ); 316 timeTab->setNTPBtnEnabled( true );
317 setCaption( tr( "SystemTime" ) ); 317 setCaption( tr( "SystemTime" ) );
318 318
319 // Verify run was successful 319 // Verify run was successful
320 if ( p->exitStatus() != 0 || !p->normalExit() ) 320 if ( p->exitStatus() != 0 )
321 { 321 {
322 if ( isVisible() && ntpInteractive ) 322 if ( isVisible() && ntpInteractive )
323 { 323 {
324 output = tr( "Error while getting time from\n server: " ); 324 output = tr( "Error while getting time from\n server: " );
325 output.append( settingsTab->ntpServer() ); 325 output.append( settingsTab->ntpServer() );
326 QMessageBox::critical(this, tr( "Error" ), output ); 326 QMessageBox::critical(this, tr( "Error" ), output );
327 } 327 }
328 // slotCheckNtp(-1); 328 // slotCheckNtp(-1);
329 return; 329 return;
330 } 330 }
331 331
332 // Set controls on time tab to new time value 332 // Set controls on time tab to new time value