summaryrefslogtreecommitdiffstats
path: root/qt-models/diveplannermodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/diveplannermodel.cpp')
-rw-r--r--qt-models/diveplannermodel.cpp7
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);