diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-06-16 14:37:02 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-16 20:33:07 -0700 |
commit | eca7d998e102ee10fc5a765a2b8d4a2176a5e2f5 (patch) | |
tree | 220353eb368741e8922aad1342696a651ff8ee38 /qt-models/diveplannermodel.cpp | |
parent | f66ea4cbb03c126fce3805d778c9f197fb6fa5e8 (diff) | |
download | subsurface-eca7d998e102ee10fc5a765a2b8d4a2176a5e2f5.tar.gz |
Set up signalling to display notes in planner again.
This got broken in a recent transition to more abstract models.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/diveplannermodel.cpp')
-rw-r--r-- | qt-models/diveplannermodel.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index 5dd43c787..bace54e20 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -840,12 +840,7 @@ void DivePlannerPointsModel::createTemporaryPlan() #endif if (recalcQ() && !diveplan_empty(&diveplan)) { plan(&diveplan, &cache, isPlanner(), false); - /* TODO: - * Hook this signal to the mainwindow(s), the call to MainWindow - * can't be here as we are now dealing with QML too. - */ - //MainWindow::instance()->setPlanNotes(displayed_dive.notes); - emit calculatedPlanNotes(displayed_dive.notes); + emit calculatedPlanNotes(); } // throw away the cache free(cache); |