mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #837 Using new abbreviated syntax for null units.
This commit is contained in:
@@ -201,7 +201,7 @@ namespace BlackGui
|
||||
{
|
||||
// get initial aircraft to render
|
||||
CInterpolationAndRenderingSetup setup = sGui->getIContextSimulator()->getInterpolationAndRenderingSetup();
|
||||
CLength newDistance(0, CLengthUnit::nullUnit());
|
||||
CLength newDistance(0, nullptr);
|
||||
if (!ui->le_MaxDistance->text().isEmpty())
|
||||
{
|
||||
newDistance = CLength(ui->le_MaxDistance->text().toInt(), CLengthUnit::NM());
|
||||
|
||||
Reference in New Issue
Block a user