mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +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>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>976</width>
|
<width>631</width>
|
||||||
<height>162</height>
|
<height>133</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
|
|||||||
@@ -137,12 +137,13 @@ namespace BlackGui
|
|||||||
|
|
||||||
CPressure CSituationForm::getBarometricPressureMsl() const
|
CPressure CSituationForm::getBarometricPressureMsl() const
|
||||||
{
|
{
|
||||||
return CPressure(getBarometricPressureMslMillibar(), CPressureUnit::mbar());
|
return CPressure(this->getBarometricPressureMslMillibar(), CPressureUnit::mbar());
|
||||||
}
|
}
|
||||||
|
|
||||||
CSpeed CSituationForm::getGroundSpeed() const
|
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)
|
void CSituationForm::setReadOnly(bool readonly)
|
||||||
|
|||||||
Reference in New Issue
Block a user