CustomObject.cpp   CustomObject.cpp 
skipping to change at line 78 skipping to change at line 78
QString CustomObject::getInfoString(const StelCore* core, const InfoStringG roup& flags) const QString CustomObject::getInfoString(const StelCore* core, const InfoStringG roup& flags) const
{ {
QString str; QString str;
QTextStream oss(&str); QTextStream oss(&str);
if (flags&Name) if (flags&Name)
oss << "<h2>" << getNameI18n() << "</h2>"; oss << "<h2>" << getNameI18n() << "</h2>";
if (flags&ObjectType) if (flags&ObjectType)
{ {
QString type = q_("custom object");
if (isMarker) if (isMarker)
oss << q_("Type: <b>%1</b>").arg(q_("custom marker") type = q_("custom marker");
) << "<br />";
else oss << QString("%1: <b>%2</b>").arg(q_("Type"), type) << "<b
oss << q_("Type: <b>%1</b>").arg(q_("custom object") r />";
) << "<br />";
} }
// Ra/Dec etc. // Ra/Dec etc.
oss << getPositionInfoString(core, flags); oss << getCommonInfoString(core, flags);
postProcessInfoString(str, flags); postProcessInfoString(str, flags);
return str; return str;
} }
Vec3f CustomObject::getInfoColor(void) const Vec3f CustomObject::getInfoColor(void) const
{ {
return Vec3f(1.0, 1.0, 1.0); return Vec3f(1.0, 1.0, 1.0);
} }
float CustomObject::getVMagnitude(const StelCore* core) const float CustomObject::getVMagnitude(const StelCore* core) const
 End of changes. 3 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/