Observability.cpp   Observability.cpp 
skipping to change at line 288 skipping to change at line 288
painter.setColor(fontColor[0],fontColor[1],fontColor[2],1.f); painter.setColor(fontColor[0],fontColor[1],fontColor[2],1.f);
font.setPixelSize(fontSize); font.setPixelSize(fontSize);
painter.setFont(font); painter.setFont(font);
// Get current date, location, and check if there is something selected. // Get current date, location, and check if there is something selected.
double currlat = (core->getCurrentLocation().latitude)/Rad2Deg; double currlat = (core->getCurrentLocation().latitude)/Rad2Deg;
double currlon = (core->getCurrentLocation().longitude)/Rad2Deg; double currlon = (core->getCurrentLocation().longitude)/Rad2Deg;
double currheight = (6371.+(core->getCurrentLocation().altitude)/100 0.)/UA; double currheight = (6371.+(core->getCurrentLocation().altitude)/100 0.)/UA;
double currJD = core->getJD(); double currJD = core->getJD();
double currJDint; double currJDint;
// GMTShift = StelUtils::getGMTShiftFromQT(currJD)/24.0; GMTShift = core->getUTCOffset(currJD)/24.0;
GMTShift = StelApp::getInstance().getLocaleMgr().getGMTShift(currJD)
/24.0;
double currLocalT = 24.*modf(currJD + GMTShift,&currJDint); double currLocalT = 24.*modf(currJD + GMTShift,&currJDint);
int auxm, auxd, auxy; int auxm, auxd, auxy;
StelUtils::getDateFromJulianDay(currJD, &auxy, &auxm, &auxd); StelUtils::getDateFromJulianDay(currJD, &auxy, &auxm, &auxd);
bool isSource = StelApp::getInstance().getStelObjectMgr().getWasSele cted(); bool isSource = StelApp::getInstance().getStelObjectMgr().getWasSele cted();
bool show_Year = show_Best_Night || show_Good_Nights || show_AcroCos ; bool show_Year = show_Best_Night || show_Good_Nights || show_AcroCos ;
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
 End of changes. 1 change blocks. 
3 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/