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/mainwindow.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/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 0307b081f..99be8422c 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -165,6 +165,8 @@ MainWindow::MainWindow() : QMainWindow(), connect(DivePlannerPointsModel::instance(), SIGNAL(planCreated()), this, SLOT(planCreated())); connect(DivePlannerPointsModel::instance(), SIGNAL(planCanceled()), this, SLOT(planCanceled())); connect(plannerDetails->printPlan(), SIGNAL(pressed()), divePlannerWidget(), SLOT(printDecoPlan())); + connect(this, SIGNAL(startDiveSiteEdit()), this, SLOT(on_actionDiveSiteEdit_triggered())); + #ifndef NO_MARBLE connect(information(), SIGNAL(diveSiteChanged(struct dive_site *)), globeGps, SLOT(centerOnDiveSite(struct dive_site *))); #endif @@ -234,6 +236,7 @@ void MainWindow::setStateProperties(const QByteArray& state, const PropertyList& } void MainWindow::on_actionDiveSiteEdit_triggered() { + qDebug() << "Chamou"; setApplicationState("EditDiveSite"); } |