mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T786, smaller improvements
* allow to use ICoordinateGeodetic, not the CCoordinateGeodetic implementation only * allow to init weather grid by initial ICoordinateGeodetic
This commit is contained in:
committed by
Mat Sutcliffe
parent
9235f3232e
commit
e63129267d
@@ -51,7 +51,7 @@ void CWeatherDataPrinter::fetchAndPrintWeatherData(const CCoordinateGeodetic &po
|
||||
qtout << "Position:" << position.toQString(true) << endl;
|
||||
qtout << "Fetching weather data. This may take a while..." << endl;
|
||||
|
||||
CWeatherGrid weatherGrid { { "", position } };
|
||||
const CWeatherGrid weatherGrid { { "", position } };
|
||||
m_weatherManger.requestWeatherGrid(weatherGrid, { this, &CWeatherDataPrinter::printWeatherData });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user