mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Code cleanup
This commit is contained in:
parent
7f6ac2e4c3
commit
34669b68f5
@ -1911,7 +1911,7 @@ bool GUI::updateGraphTabs()
|
||||
|
||||
void GUI::updateDEMDownloadAction()
|
||||
{
|
||||
_downloadDEMAction->setEnabled(!_options.demURL.isEmpty()
|
||||
_downloadDEMAction->setEnabled(!_dem->url().isEmpty()
|
||||
&& !_dem->checkTiles(_mapView->boundingRect()));
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user