diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-08-25 18:27:19 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-25 17:58:46 -0700 |
commit | aaa70ff56e2b5891f1c8241bf10a8e236bf86108 (patch) | |
tree | 579161ce0442d3d0f55609f1f643dd144bf96bc3 /qt-ui/maintab.cpp | |
parent | 028f0401f652334d033cb01b7c1a49609b9e69b4 (diff) | |
download | subsurface-aaa70ff56e2b5891f1c8241bf10a8e236bf86108.tar.gz |
Turn the get taxonomy button into a manage dive site button
The get taxonomy button will be inside the manage dive site interface.
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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index c200b36be..dc9ec9441 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -76,7 +76,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), locationManagementEditHelper, &LocationManagementEditHelper::handleActivation); ui.location->setCompleter(completer); - connect(ui.geocodeButton, SIGNAL(clicked()), this, SLOT(reverseGeocode())); + connect(ui.editDiveSiteButton, SIGNAL(clicked()), MainWindow::instance(), SIGNAL(startDiveSiteEdit())); QAction *action = new QAction(tr("Apply changes"), this); connect(action, SIGNAL(triggered(bool)), this, SLOT(acceptChanges())); @@ -520,7 +520,7 @@ void MainTab::updateDiveInfo(bool clear) if (ds) copy_dive_site(ds, &displayed_dive_site); } - ui.geocodeButton->setVisible(ds && dive_site_has_gps_location(ds)); + ui.editDiveSiteButton->setVisible(ds && dive_site_has_gps_location(ds)); if (ds) { // construct the location tags QString locationTag; |