File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -252,8 +252,9 @@ namespace BlackGui::Components
252252 ui->tvp_CloudLayers ->updateContainer (gridPoint.getCloudLayers ());
253253 ui->tvp_WindLayers ->updateContainer (gridPoint.getWindLayers ());
254254 const CCoordinateGeodetic position = gridPoint.getPosition ();
255- const double pressureAtMsl = gridPoint.getPressureAtMsl ().value (CPressureUnit::hPa ());
256- const QString status = QStringLiteral (" Weather Position: %1 %2\n Pressure (MSL): %3 hPa" ).arg (position.latitude ().toWgs84 (), position.longitude ().toWgs84 ()).arg (pressureAtMsl);
255+ const double pressureAtMslHpa = gridPoint.getPressureAtMsl ().value (CPressureUnit::hPa ());
256+ const double pressureAtMslInHg = gridPoint.getPressureAtMsl ().value (CPressureUnit::inHg ());
257+ const QString status = QStringLiteral (" Weather Position: %1 %2\n Pressure (MSL): %3 hPa / %4 inHg" ).arg (position.latitude ().toWgs84 (), position.longitude ().toWgs84 ()).arg (pressureAtMslHpa).arg (pressureAtMslInHg);
257258 ui->lbl_Status ->setText (status);
258259 }
259260
You can’t perform that action at this time.
0 commit comments