author | skyhusker <skyhusker> | 2005-04-24 18:04:05 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-04-24 18:04:05 (UTC) |
commit | 2654d303f9ee732ef938ab1a54f314b2e6605579 (patch) (unidiff) | |
tree | 68181686ffaea0deeaaf64fb60d6dda099ed4e1b | |
parent | 909be3f5cc74846f74febdfe53d5b9f92bdd4471 (diff) | |
download | opie-2654d303f9ee732ef938ab1a54f314b2e6605579.zip opie-2654d303f9ee732ef938ab1a54f314b2e6605579.tar.gz opie-2654d303f9ee732ef938ab1a54f314b2e6605579.tar.bz2 |
Relaxed fix for errors in ntpdate command, avoiding false error messages. Fixes bug #1357.
-rw-r--r-- | noncore/settings/netsystemtime/mainwindow.cpp | 2 |
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 | |||
@@ -314,13 +314,13 @@ void MainWindow::slotNtpFinished( OProcess *p ) | |||
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 ); |