summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-05-25 15:36:34 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-26 13:18:31 -0700
commit58d5d5ca412287a4be65e27e2a774ba7731b7098 (patch)
tree70dceb4a64a92b01ee30c0f361601eac2c9ec9d7
parent777f04724717513c7a0e14b13aa66934328c8245 (diff)
downloadsubsurface-58d5d5ca412287a4be65e27e2a774ba7731b7098.tar.gz
Remove uneeded call.
The disableDcShortcuts is called inside of the ProfileGraphics ( I actually think that this method should be moved to there ) Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index a10dac2e4..1062e43d8 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -373,7 +373,6 @@ void MainWindow::on_actionDivePlanner_triggered()
int i;
struct dive *dive;
- disableDcShortcuts();
DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::PLAN);
DivePlannerPointsModel::instance()->clear();
CylindersModel::instance()->clear();
@@ -395,7 +394,6 @@ void MainWindow::on_actionAddDive_triggered()
dive_list()->rememberSelection();
dive_list()->unselectDives();
- disableDcShortcuts();
DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::ADD);
// now cheat - create one dive that we use to store the info tab data in