summaryrefslogtreecommitdiff
authorskyhusker <skyhusker>2005-04-24 18:04:05 (UTC)
committer skyhusker <skyhusker>2005-04-24 18:04:05 (UTC)
commit2654d303f9ee732ef938ab1a54f314b2e6605579 (patch) (side-by-side diff)
tree68181686ffaea0deeaaf64fb60d6dda099ed4e1b
parent909be3f5cc74846f74febdfe53d5b9f92bdd4471 (diff)
downloadopie-2654d303f9ee732ef938ab1a54f314b2e6605579.zip
opie-2654d303f9ee732ef938ab1a54f314b2e6605579.tar.gz
opie-2654d303f9ee732ef938ab1a54f314b2e6605579.tar.bz2
Relaxed fix for errors in ntpdate command, avoiding false error messages. Fixes bug #1357.
Diffstat (more/less context) (show 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 )
void MainWindow::slotNtpFinished( OProcess *p )
{
QString output;
QDateTime dt = QDateTime::currentDateTime();
// Re-enable set time buttons & change app caption to indicate time update is happening
if ( ntpTabEnabled )
ntpTab->setNTPBtnEnabled( true );
timeTab->setNTPBtnEnabled( true );
setCaption( tr( "SystemTime" ) );
// Verify run was successful
- if ( p->exitStatus() != 0 || !p->normalExit() )
+ if ( p->exitStatus() != 0 )
{
if ( isVisible() && ntpInteractive )
{
output = tr( "Error while getting time from\n server: " );
output.append( settingsTab->ntpServer() );
QMessageBox::critical(this, tr( "Error" ), output );
}
// slotCheckNtp(-1);
return;
}
// Set controls on time tab to new time value