PointerCoordinatesWindow.cpp   PointerCoordinatesWindow.cpp 
skipping to change at line 165 skipping to change at line 165
//Save the current selection to be restored later //Save the current selection to be restored later
csys->blockSignals(true); csys->blockSignals(true);
int index = csys->currentIndex(); int index = csys->currentIndex();
QVariant selectedSystemId = csys->itemData(index); QVariant selectedSystemId = csys->itemData(index);
csys->clear(); csys->clear();
//For each algorithm, display the localized name and store the key a s user //For each algorithm, display the localized name and store the key a s user
//data. Unfortunately, there's no other way to do this than with a c ycle. //data. Unfortunately, there's no other way to do this than with a c ycle.
csys->addItem(q_("Right ascension/Declination (J2000.0)"), "RaDecJ20 00"); csys->addItem(q_("Right ascension/Declination (J2000.0)"), "RaDecJ20 00");
csys->addItem(q_("Right ascension/Declination"), "RaDec"); csys->addItem(q_("Right ascension/Declination"), "RaDec");
csys->addItem(q_("Hour angle/Declination"), "HourAngle"); csys->addItem(q_("Hour angle/Declination"), "HourAngle");
csys->addItem(q_("Ecliptic Longitude/Latitude (J2000.0)"), "Ecliptic csys->addItem(q_("Ecliptic Longitude/Latitude"), "Ecliptic");
"); csys->addItem(q_("Ecliptic Longitude/Latitude (J2000.0)"), "Ecliptic
J2000");
csys->addItem(q_("Altitude/Azimuth"), "AltAzi"); csys->addItem(q_("Altitude/Azimuth"), "AltAzi");
csys->addItem(q_("Galactic Longitude/Latitude"), "Galactic"); csys->addItem(q_("Galactic Longitude/Latitude"), "Galactic");
//Restore the selection //Restore the selection
index = csys->findData(selectedSystemId, Qt::UserRole, Qt::MatchCase Sensitive); index = csys->findData(selectedSystemId, Qt::UserRole, Qt::MatchCase Sensitive);
csys->setCurrentIndex(index); csys->setCurrentIndex(index);
csys->blockSignals(false); csys->blockSignals(false);
} }
void PointerCoordinatesWindow::setCoordinatesPlace(int placeID) void PointerCoordinatesWindow::setCoordinatesPlace(int placeID)
 End of changes. 1 change blocks. 
2 lines changed or deleted 3 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/