diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-06-04 00:36:26 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-03 21:46:50 -0700 |
commit | ddc7717ab890387a61955aa3fd17fb1363f0894f (patch) | |
tree | b30766e90b3cf1e85109095b1a9660aaef6072fe /qt-ui | |
parent | 203c3e3077f60928d2c05511a805af85c5ea5fd3 (diff) | |
download | subsurface-ddc7717ab890387a61955aa3fd17fb1363f0894f.tar.gz |
Remove broken method
This method was written a long time ago, now we need to use the new
versions of it.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 10 | ||||
-rw-r--r-- | qt-ui/maintab.h | 1 |
2 files changed, 0 insertions, 11 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()); diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index 7fb06bc88..030989664 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -92,7 +92,6 @@ slots: void escDetected(void); void photoDoubleClicked(const QString filePath); void removeSelectedPhotos(); - void prepareDiveSiteEdit(); void showLocation(); void enableGeoLookupEdition(); void disableGeoLookupEdition(); |