This commit is contained in:
Klaus Basan
2020-04-19 02:27:58 +02:00
committed by Mat Sutcliffe
parent 7304013eea
commit e7875c3af8
2 changed files with 3 additions and 3 deletions

View File

@@ -147,10 +147,10 @@ namespace BlackWxPlugin
if (m_parseGribFileWorker && !m_parseGribFileWorker->isFinished()) { m_parseGribFileWorker->abandonAndWait(); } if (m_parseGribFileWorker && !m_parseGribFileWorker->isFinished()) { m_parseGribFileWorker->abandonAndWait(); }
} }
void CWeatherDataGfs::fetchWeatherData(const CWeatherGrid &grid, const CLength &range) void CWeatherDataGfs::fetchWeatherData(const CWeatherGrid &initialGrid, const CLength &range)
{ {
if (!sApp || sApp->isShuttingDown()) { return; } if (!sApp || sApp->isShuttingDown()) { return; }
m_grid = grid; m_grid = initialGrid;
m_maxRange = range; m_maxRange = range;
if (m_gribData.isEmpty()) if (m_gribData.isEmpty())
{ {

View File

@@ -50,7 +50,7 @@ namespace BlackWxPlugin
virtual ~CWeatherDataGfs() override; virtual ~CWeatherDataGfs() override;
//! \copydoc BlackCore::IWeatherData::fetchWeatherData //! \copydoc BlackCore::IWeatherData::fetchWeatherData
virtual void fetchWeatherData(const BlackMisc::Weather::CWeatherGrid &grid, virtual void fetchWeatherData(const BlackMisc::Weather::CWeatherGrid &initialGrid,
const BlackMisc::PhysicalQuantities::CLength &range) override; const BlackMisc::PhysicalQuantities::CLength &range) override;
//! \copydoc BlackCore::IWeatherData::fetchWeatherDataFromFile //! \copydoc BlackCore::IWeatherData::fetchWeatherDataFromFile