AngleMeasure.cpp   AngleMeasure.cpp 
skipping to change at line 88 skipping to change at line 88
QSettings* conf = StelApp::getInstance().getSettings(); QSettings* conf = StelApp::getInstance().getSettings();
if (!conf->contains("AngleMeasure/angle_format_dms")) if (!conf->contains("AngleMeasure/angle_format_dms"))
{ {
// Create the "AngleMeasure" section and set default paramet ers // Create the "AngleMeasure" section and set default paramet ers
conf->setValue("AngleMeasure/angle_format_dms", true); conf->setValue("AngleMeasure/angle_format_dms", true);
conf->setValue("AngleMeasure/text_color", "0,0.5,1"); conf->setValue("AngleMeasure/text_color", "0,0.5,1");
conf->setValue("AngleMeasure/line_color", "0,0.5,1"); conf->setValue("AngleMeasure/line_color", "0,0.5,1");
} }
flagUseDmsFormat = conf->value("options/angle_format_dms", false).to flagUseDmsFormat = conf->value("AngleMeasure/angle_format_dms", fals
Bool(); e).toBool();
textColor = StelUtils::strToVec3f(conf->value("options/text_color", textColor = StelUtils::strToVec3f(conf->value("AngleMeasure/text_col
"0,0.5,1").toString()); or", "0,0.5,1").toString());
lineColor = StelUtils::strToVec3f(conf->value("options/line_color", lineColor = StelUtils::strToVec3f(conf->value("AngleMeasure/line_col
"0,0.5,1").toString()); or", "0,0.5,1").toString());
} }
AngleMeasure::~AngleMeasure() AngleMeasure::~AngleMeasure()
{ {
} }
//! Determine which "layer" the plagin's drawing will happen on. //! Determine which "layer" the plagin's drawing will happen on.
double AngleMeasure::getCallOrder(StelModuleActionName actionName) const double AngleMeasure::getCallOrder(StelModuleActionName actionName) const
{ {
if (actionName==StelModule::ActionDraw) if (actionName==StelModule::ActionDraw)
 End of changes. 1 change blocks. 
6 lines changed or deleted 6 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/