Add precipitation and cloud type to CCloudLayer

refs #579
This commit is contained in:
Roland Winklmeier
2016-02-28 13:35:46 +01:00
parent af3b8f7f0c
commit 03abfec7c6
3 changed files with 72 additions and 6 deletions

View File

@@ -590,7 +590,7 @@ namespace BlackMisc
ceiling *= 100;
if (!ok) return false;
CCloudLayer cloudLayer(CAltitude(ceiling, CAltitude::AboveGround, CLengthUnit::ft()), getCoverage().value(coverageAsString));
CCloudLayer cloudLayer(CAltitude(ceiling, CAltitude::AboveGround, CLengthUnit::ft()), {}, getCoverage().value(coverageAsString));
metar.addCloudLayer(cloudLayer);
QString cb_tcu = match.captured("cb_tcu");
if (!cb_tcu.isEmpty()) { }