mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
ca452134e8
commit
d3a02069c6
@@ -12,6 +12,7 @@
|
|||||||
#include "blackmisc/math/mathutils.h"
|
#include "blackmisc/math/mathutils.h"
|
||||||
#include "blackmisc/geo/coordinategeodetic.h"
|
#include "blackmisc/geo/coordinategeodetic.h"
|
||||||
#include "blackmisc/pq/temperature.h"
|
#include "blackmisc/pq/temperature.h"
|
||||||
|
|
||||||
#include <QNetworkRequest>
|
#include <QNetworkRequest>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
#include <QEventLoop>
|
#include <QEventLoop>
|
||||||
@@ -85,7 +86,7 @@ namespace BlackWxPlugin
|
|||||||
float windV = 0.0;
|
float windV = 0.0;
|
||||||
};
|
};
|
||||||
|
|
||||||
inline bool operator==(const GfsIsobaricLayer& lhs, const GfsIsobaricLayer& rhs)
|
inline bool operator==(const GfsIsobaricLayer &lhs, const GfsIsobaricLayer &rhs)
|
||||||
{
|
{
|
||||||
return qFuzzyCompare(lhs.temperature, rhs.temperature) &&
|
return qFuzzyCompare(lhs.temperature, rhs.temperature) &&
|
||||||
qFuzzyCompare(lhs.relativeHumidity, rhs.relativeHumidity) &&
|
qFuzzyCompare(lhs.relativeHumidity, rhs.relativeHumidity) &&
|
||||||
@@ -618,7 +619,7 @@ namespace BlackWxPlugin
|
|||||||
|
|
||||||
float level = 0.0;
|
float level = 0.0;
|
||||||
|
|
||||||
switch(typeFirstFixedSurface)
|
switch (typeFirstFixedSurface)
|
||||||
{
|
{
|
||||||
case GroundOrWaterSurface: level = 0.0; break;
|
case GroundOrWaterSurface: level = 0.0; break;
|
||||||
case IsobaricSurface: level = valueFirstFixedSurface; break;
|
case IsobaricSurface: level = valueFirstFixedSurface; break;
|
||||||
|
|||||||
Reference in New Issue
Block a user