mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Minor tweaks for METAR info
This commit is contained in:
committed by
Mat Sutcliffe
parent
0876379729
commit
928a76a042
@@ -679,7 +679,7 @@ namespace BlackCore
|
||||
}
|
||||
}
|
||||
|
||||
void CContextNetwork::updateMetars(const BlackMisc::Weather::CMetarList &metars)
|
||||
void CContextNetwork::updateMetars(const CMetarList &metars)
|
||||
{
|
||||
if (this->isDebugEnabled()) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO; }
|
||||
CLogMessage(this).info(u"%1 METARs updated") << metars.size();
|
||||
|
||||
@@ -140,8 +140,7 @@ namespace BlackCore
|
||||
else { invalidLines++; }
|
||||
}
|
||||
|
||||
static const QString ms("METAR statistic: %1 Metars (invalid %2)");
|
||||
CLogMessage(this).debug() << ms.arg(metars.size()).arg(invalidLines);
|
||||
CLogMessage(this).info(u"METARs: %1 Metars (invalid %2) from '%3'" )<< metars.size() << invalidLines << metarUrl;
|
||||
{
|
||||
QWriteLocker l(&m_lock);
|
||||
m_metars = metars;
|
||||
|
||||
Reference in New Issue
Block a user