summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 5621269b3..0095aaf97 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -619,9 +619,9 @@ void MainWindow::planCreated()
refreshDisplay();
}
-void MainWindow::setPlanNotes(const char *notes)
+void MainWindow::setPlanNotes()
{
- plannerDetails()->divePlanOutput()->setHtml(notes);
+ plannerDetails()->divePlanOutput()->setHtml(displayed_dive.notes);
}
void MainWindow::printPlan()