mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f66ea4cbb0
commit
eca7d998e1
5 changed files with 8 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue