Supernova.cpp   Supernova.cpp 
skipping to change at line 81 skipping to change at line 81
return map; return map;
} }
float Supernova::getSelectPriority(const StelCore* core) const float Supernova::getSelectPriority(const StelCore* core) const
{ {
//Same as StarWrapper::getSelectPriority() //Same as StarWrapper::getSelectPriority()
return getVMagnitude(core, false); return getVMagnitude(core, false);
} }
QString Supernova::getNameI18n(void) const
{
QString name = designation;
if (note.size()!=0)
name = QString("%1 (%2)").arg(name).arg(q_(note));
return name;
}
QString Supernova::getEnglishName(void) const
{
QString name = designation;
if (note.size()!=0)
name = QString("%1 (%2)").arg(name).arg(note);
return name;
}
QString Supernova::getInfoString(const StelCore* core, const InfoStringGrou p& flags) const QString Supernova::getInfoString(const StelCore* core, const InfoStringGrou p& flags) const
{ {
QString str; QString str;
QTextStream oss(&str); QTextStream oss(&str);
double mag = getVMagnitude(core, false); double mag = getVMagnitude(core, false);
if (flags&Name) if (flags&Name)
{ {
oss << "<h2>" << designation; oss << "<h2>" << designation;
if (note.size()!=0) if (note.size()!=0)
 End of changes. 1 change blocks. 
0 lines changed or deleted 18 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/