SupernovaeDialog.cpp   SupernovaeDialog.cpp 
skipping to change at line 225 skipping to change at line 225
ui->nextUpdateLabel->setText(QString(q_("Historical supernovae is up dated"))); ui->nextUpdateLabel->setText(QString(q_("Historical supernovae is up dated")));
// display the status for another full interval before refreshing st atus // display the status for another full interval before refreshing st atus
updateTimer->start(); updateTimer->start();
ui->lastUpdateDateTimeEdit->setDateTime(sn->getLastUpdate()); ui->lastUpdateDateTimeEdit->setDateTime(sn->getLastUpdate());
QTimer *timer = new QTimer(this); QTimer *timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(refreshUpdateValues())) ; connect(timer, SIGNAL(timeout()), this, SLOT(refreshUpdateValues())) ;
} }
void SupernovaeDialog::restoreDefaults(void) void SupernovaeDialog::restoreDefaults(void)
{ {
qDebug() << "Supernovae::restoreDefaults"; qDebug() << "[Supernovae] restore defaults";
sn->restoreDefaults(); sn->restoreDefaults();
sn->readSettingsFromConfig(); sn->readSettingsFromConfig();
updateGuiFromSettings(); updateGuiFromSettings();
} }
void SupernovaeDialog::updateGuiFromSettings(void) void SupernovaeDialog::updateGuiFromSettings(void)
{ {
ui->internetUpdatesCheckbox->setChecked(sn->getUpdatesEnabled()); ui->internetUpdatesCheckbox->setChecked(sn->getUpdatesEnabled());
refreshUpdateValues(); refreshUpdateValues();
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/