1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Enable DEM fetching for a single point

This commit is contained in:
Martin Tůma 2021-09-21 22:07:22 +02:00
parent d7dc185ecf
commit 45dbb105c5

View File

@ -10,7 +10,7 @@ static QList<DEM::Tile> tiles(const RectC &rect)
{
QList<DEM::Tile> list;
if (!rect.isValid())
if (rect.isNull())
return list;
for (int i = qFloor(rect.top()); i >= qFloor(rect.bottom()); i--)