summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 21:05:08 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 21:05:08 -0700
commitda911993f12b2ea3f519294c1c4d160c97cda54f (patch)
treed862ca323823156044e59fcf829c80b7bab36d2b /qt-ui/diveplanner.cpp
parent5fb947681e234a52ac6457a80a12e0362433cd5c (diff)
downloadsubsurface-da911993f12b2ea3f519294c1c4d160c97cda54f.tar.gz
Small cleanups
Add commented out options to subsurface.pro that enable debuging the planner. Remove obsolete comment. Clean up the selection tracking. Force the re-sort of the divelist inside the reload instead of explicitly calling it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 256ddff2f..e07d75cac 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -994,14 +994,6 @@ void DivePlannerPointsModel::clear()
{
bool oldRecalc = setRecalc(false);
-
-
- // FIXME -- need to get rid of stagingDIve
- // the following now uses displayed_dive !!!!
-
-
-
-
CylindersModel::instance()->updateDive();
if (rowCount() > 0) {
beginRemoveRows(QModelIndex(), 0, rowCount() - 1);