mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Fixed missing gs from situation form
This commit is contained in:
committed by
Mat Sutcliffe
parent
b0f11362be
commit
b476ce4894
@@ -6,8 +6,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>976</width>
|
||||
<height>162</height>
|
||||
<width>631</width>
|
||||
<height>133</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
|
||||
@@ -137,12 +137,13 @@ namespace BlackGui
|
||||
|
||||
CPressure CSituationForm::getBarometricPressureMsl() const
|
||||
{
|
||||
return CPressure(getBarometricPressureMslMillibar(), CPressureUnit::mbar());
|
||||
return CPressure(this->getBarometricPressureMslMillibar(), CPressureUnit::mbar());
|
||||
}
|
||||
|
||||
CSpeed CSituationForm::getGroundSpeed() const
|
||||
{
|
||||
return CSpeed(0, CSpeedUnit::kts());
|
||||
const int gsKts = ui->sb_GsKts->value();
|
||||
return CSpeed(gsKts, CSpeedUnit::kts());
|
||||
}
|
||||
|
||||
void CSituationForm::setReadOnly(bool readonly)
|
||||
|
||||
Reference in New Issue
Block a user