From 58d5d5ca412287a4be65e27e2a774ba7731b7098 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 25 May 2014 15:36:34 -0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 -- 1 file changed, 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 -- cgit v1.2.3-70-g09d2