diff options
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index bd893e2da..45f57992d 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -245,16 +245,6 @@ void MainTab::disableGeoLookupEdition() ui.addDiveSite->hide(); } -void MainTab::prepareDiveSiteEdit() { - // TODO: This is wrong. We can only set this if we Accepted the dive site edit - // And not if we cancelled. Currently we are seting directly without even - // thinking - but too tired, fix this tomorrow. - - uint32_t dive_site_uuid = LocationInformationModel::instance()->addDiveSite(tr("Unnamed")); - displayed_dive.dive_site_uuid = dive_site_uuid; - emit requestDiveSiteEdit(dive_site_uuid); -} - void MainTab::toggleTriggeredColumn() { QAction *action = qobject_cast<QAction *>(sender()); |