mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
refs #937 Resolved clazy warnings: miscellaneous.
This commit is contained in:
@@ -97,7 +97,7 @@ namespace BlackMisc
|
||||
|
||||
//! Elevation
|
||||
//! \sa setGeodeticHeight
|
||||
void setElevation(const BlackMisc::Aviation::CAltitude &elevation) { return this->m_position.setGeodeticHeight(elevation); }
|
||||
void setElevation(const BlackMisc::Aviation::CAltitude &elevation) { this->m_position.setGeodeticHeight(elevation); }
|
||||
|
||||
//! Is the airport still active?
|
||||
bool isOperating() const { return m_operating; }
|
||||
|
||||
@@ -181,7 +181,7 @@ namespace BlackMisc
|
||||
this->m_telephonyDesignator = variant.toQString();
|
||||
break;
|
||||
default:
|
||||
return CValueObject::setPropertyByIndex(index, variant);
|
||||
CValueObject::setPropertyByIndex(index, variant);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace BlackMisc
|
||||
{
|
||||
QList<CFrequency> f;
|
||||
if (!CSelcal::isValidCode(this->m_code)) return f;
|
||||
f.reserve(this->m_code.length());
|
||||
for (int pos = 0; pos < this->m_code.length(); pos++)
|
||||
{
|
||||
f.append(CSelcal::audioFrequencyEquivalent(this->m_code.at(pos)));
|
||||
|
||||
Reference in New Issue
Block a user