1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2021-09-01 13:27:30 +02:00
parent 7f6ac2e4c3
commit 34669b68f5
2 changed files with 3 additions and 1 deletions

View File

@ -1911,7 +1911,7 @@ bool GUI::updateGraphTabs()
void GUI::updateDEMDownloadAction()
{
_downloadDEMAction->setEnabled(!_options.demURL.isEmpty()
_downloadDEMAction->setEnabled(!_dem->url().isEmpty()
&& !_dem->checkTiles(_mapView->boundingRect()));
}

View File

@ -22,6 +22,8 @@ public:
bool loadTiles(const RectC &rect);
bool checkTiles(const RectC &rect) const;
const QString &url() const {return _url;}
signals:
void finished();