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>
This commit is contained in:
Dirk Hohndel 2014-07-03 21:05:08 -07:00
parent 5fb947681e
commit da911993f1
3 changed files with 7 additions and 33 deletions

View file

@ -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);