PQ parsing using "best guess" strategy as default plus renamings

This commit is contained in:
Klaus Basan
2018-12-20 03:59:46 +01:00
committed by Mat Sutcliffe
parent 4e1835b80d
commit d89b217e9b
13 changed files with 22 additions and 22 deletions

View File

@@ -265,7 +265,7 @@ namespace BlackGui
{
const QString e = ui->le_Elevation->text().trimmed();
CAltitude a;
a.parseFromString(e);
a.parseFromString(e, CPqString::SeparatorBestGuess);
ui->lblp_ElvCheck->setTicked(!e.isNull());
CCoordinateGeodetic c = m_coordinate;
c.setGeodeticHeight(a);

View File

@@ -127,7 +127,7 @@ namespace BlackGui
{
CAngle pitch;
const QString p = ui->le_PitchOnGround->text().trimmed();
pitch.parseFromString(p, CPqString::SeparatorsBestGuess);
pitch.parseFromString(p, CPqString::SeparatorBestGuess);
return pitch;
}

View File

@@ -128,7 +128,7 @@ namespace BlackGui
}
CLength cg;
cg.parseFromString(v);
cg.parseFromString(v, CPqString::SeparatorBestGuess);
return cg;
}