ObservabilityDialog.cpp   ObservabilityDialog.cpp 
skipping to change at line 123 skipping to change at line 123
// TODO: The plug-in should emit a signal when settings are changed. // TODO: The plug-in should emit a signal when settings are changed.
// This works, because slots are called in the order they were conne cted. // This works, because slots are called in the order they were conne cted.
connect(ui->restoreDefaultsButton, SIGNAL(clicked()), connect(ui->restoreDefaultsButton, SIGNAL(clicked()),
this, SLOT(updateControls())); this, SLOT(updateControls()));
connect(ui->saveSettingsButton, SIGNAL(clicked()), connect(ui->saveSettingsButton, SIGNAL(clicked()),
plugin, SLOT(saveConfiguration())); plugin, SLOT(saveConfiguration()));
// About tab // About tab
setAboutHtml(); setAboutHtml();
StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui( )); StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui( ));
if(gui!=NULL) if(gui!=Q_NULLPTR)
ui->aboutTextBrowser->document()->setDefaultStyleSheet(QStri ng(gui->getStelStyle().htmlStyleSheet)); ui->aboutTextBrowser->document()->setDefaultStyleSheet(QStri ng(gui->getStelStyle().htmlStyleSheet));
updateControls(); updateControls();
} }
void ObservabilityDialog::setAboutHtml(void) void ObservabilityDialog::setAboutHtml(void)
{ {
QString html = "<html><head></head><body>"; QString html = "<html><head></head><body>";
html += "<h2>" + q_("Observability Plug-in") + "</h2><table width=\" 90%\">"; html += "<h2>" + q_("Observability Plug-in") + "</h2><table width=\" 90%\">";
 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/