1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-19 04:02:09 +01:00

Fixed formal memory leak

This commit is contained in:
Martin Tůma 2021-09-27 19:24:02 +02:00
parent 2a7507ff25
commit ce5a924e8f

View File

@ -384,7 +384,7 @@ void GUI::createActions()
_downloadDEMAction->setEnabled(false); _downloadDEMAction->setEnabled(false);
_downloadDEMAction->setShortcut(DOWNLOAD_DEM_SHORTCUT); _downloadDEMAction->setShortcut(DOWNLOAD_DEM_SHORTCUT);
connect(_downloadDEMAction, &QAction::triggered, this, &GUI::downloadDEM); connect(_downloadDEMAction, &QAction::triggered, this, &GUI::downloadDEM);
_showDEMTilesAction = new QAction(tr("Show local DEM tiles")); _showDEMTilesAction = new QAction(tr("Show local DEM tiles"), this);
_showDEMTilesAction->setMenuRole(QAction::NoRole); _showDEMTilesAction->setMenuRole(QAction::NoRole);
connect(_showDEMTilesAction, &QAction::triggered, this, &GUI::showDEMTiles); connect(_showDEMTilesAction, &QAction::triggered, this, &GUI::showDEMTiles);