ViewDialog.cpp   ViewDialog.cpp 
skipping to change at line 245 skipping to change at line 245
connect(ui->showFogCheckBox, SIGNAL(toggled(bool)), lmgr, SLOT(setFl agFog(bool))); connect(ui->showFogCheckBox, SIGNAL(toggled(bool)), lmgr, SLOT(setFl agFog(bool)));
ui->showAtmosphereCheckBox->setChecked(lmgr->getFlagAtmosphere()); ui->showAtmosphereCheckBox->setChecked(lmgr->getFlagAtmosphere());
a = gui->getGuiAction("actionShow_Atmosphere"); a = gui->getGuiAction("actionShow_Atmosphere");
connect(a, SIGNAL(toggled(bool)), ui->showAtmosphereCheckBox, SLOT(s etChecked(bool))); connect(a, SIGNAL(toggled(bool)), ui->showAtmosphereCheckBox, SLOT(s etChecked(bool)));
connect(ui->showAtmosphereCheckBox, SIGNAL(toggled(bool)), a, SLOT(s etChecked(bool))); connect(ui->showAtmosphereCheckBox, SIGNAL(toggled(bool)), a, SLOT(s etChecked(bool)));
ui->landscapePositionCheckBox->setChecked(lmgr->getFlagLandscapeSets Location()); ui->landscapePositionCheckBox->setChecked(lmgr->getFlagLandscapeSets Location());
connect(ui->landscapePositionCheckBox, SIGNAL(toggled(bool)), lmgr, SLOT(setFlagLandscapeSetsLocation(bool))); connect(ui->landscapePositionCheckBox, SIGNAL(toggled(bool)), lmgr, SLOT(setFlagLandscapeSetsLocation(bool)));
ui->landscapeBrightnessCheckBox->setChecked(lmgr->getFlagLandscapeNi
ghtBrightness());
connect(ui->landscapeBrightnessCheckBox, SIGNAL(toggled(bool)), lmgr
, SLOT(setFlagLandscapeNightBrightness(bool)));
ui->lightPollutionSpinBox->setValue(StelApp::getInstance().getCore() ->getSkyDrawer()->getBortleScale()); ui->lightPollutionSpinBox->setValue(StelApp::getInstance().getCore() ->getSkyDrawer()->getBortleScale());
connect(ui->lightPollutionSpinBox, SIGNAL(valueChanged(int)), lmgr, SLOT(setAtmosphereBortleLightPollution(int))); connect(ui->lightPollutionSpinBox, SIGNAL(valueChanged(int)), lmgr, SLOT(setAtmosphereBortleLightPollution(int)));
connect(ui->lightPollutionSpinBox, SIGNAL(valueChanged(int)), StelAp p::getInstance().getCore()->getSkyDrawer(), SLOT(setBortleScale(int))); connect(ui->lightPollutionSpinBox, SIGNAL(valueChanged(int)), StelAp p::getInstance().getCore()->getSkyDrawer(), SLOT(setBortleScale(int)));
ui->autoChangeLandscapesCheckBox->setChecked(lmgr->getFlagLandscapeA utoSelection()); ui->autoChangeLandscapesCheckBox->setChecked(lmgr->getFlagLandscapeA utoSelection());
connect(ui->autoChangeLandscapesCheckBox, SIGNAL(toggled(bool)), lmg r, SLOT(setFlagLandscapeAutoSelection(bool))); connect(ui->autoChangeLandscapesCheckBox, SIGNAL(toggled(bool)), lmg r, SLOT(setFlagLandscapeAutoSelection(bool)));
// GZ: changes for refraction // GZ: changes for refraction
//ui->pressureDoubleSpinBox->setValue(StelApp::getInstance().getCore ()->getSkyDrawer()->getAtmospherePressure()); //ui->pressureDoubleSpinBox->setValue(StelApp::getInstance().getCore ()->getSkyDrawer()->getAtmospherePressure());
//connect(ui->pressureDoubleSpinBox, SIGNAL(valueChanged(double)), S telApp::getInstance().getCore()->getSkyDrawer(), SLOT(setAtmospherePressure (double))); //connect(ui->pressureDoubleSpinBox, SIGNAL(valueChanged(double)), S telApp::getInstance().getCore()->getSkyDrawer(), SLOT(setAtmospherePressure (double)));
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 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/