summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-07-14 14:29:48 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-14 14:44:39 -0700
commit9510f40db42c60d34577f79180d929a88d261781 (patch)
treed45319b09a1999428a0a736f3d73fb8c44fae318 /qt-ui/maintab.cpp
parent49ab30ae8b65c3ad443a5824ae5f9554e88c7a39 (diff)
downloadsubsurface-9510f40db42c60d34577f79180d929a88d261781.tar.gz
Remove quick edit dive site widget
Voted down by common consent. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 2efaa520c..abb6af9bd 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -74,7 +74,6 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
locationManagementEditHelper, &LocationManagementEditHelper::handleActivation);
ui.location->setCompleter(completer);
- connect(ui.addDiveSite, SIGNAL(clicked()), this, SLOT(showDiveSiteSimpleEdit()));
connect(ui.geocodeButton, SIGNAL(clicked()), this, SLOT(reverseGeocode()));
QAction *action = new QAction(tr("Apply changes"), this);
@@ -250,27 +249,14 @@ void MainTab::setCurrentLocationIndex()
}
}
-void MainTab::showDiveSiteSimpleEdit()
-{
- if (ui.location->text().isEmpty())
- return;
- SimpleDiveSiteEditDialog dlg(this);
- dlg.exec();
- if (dlg.changed_dive_site) {
- markChangedWidget(ui.location);
- }
-}
-
void MainTab::enableGeoLookupEdition()
{
ui.waitingSpinner->stop();
- ui.addDiveSite->show();
}
void MainTab::disableGeoLookupEdition()
{
ui.waitingSpinner->start();
- ui.addDiveSite->hide();
}
void MainTab::toggleTriggeredColumn()