From 8c72ac6b9b00778e03dd60fe30bf4ba53d87ab55 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 9 Apr 2021 22:19:59 +0200 Subject: profile: remove force parameter from ProfileWidget2::plotDive() The last user was removed in 2789bb05b133a7cf54081d58d4f5c51c8977e951. Signed-off-by: Berthold Stoeger --- desktop-widgets/mainwindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'desktop-widgets/mainwindow.cpp') diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index f01d3ea48..900c1f7ae 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -432,7 +432,7 @@ void MainWindow::selectionChanged() configureToolbar(); enableDisableOtherDCsActions(); } - graphics->plotDive(current_dive, dc_number, false); + graphics->plotDive(current_dive, dc_number); MapWidget::instance()->selectionChanged(); } @@ -736,7 +736,7 @@ void MainWindow::refreshProfile() { showProfile(); configureToolbar(); - graphics->plotDive(current_dive, dc_number, true); + graphics->plotDive(current_dive, dc_number); } void MainWindow::planCanceled() @@ -921,7 +921,7 @@ void MainWindow::on_actionPreviousDC_triggered() unsigned nrdc = number_of_computers(current_dive); dc_number = (dc_number + nrdc - 1) % nrdc; configureToolbar(); - graphics->plotDive(current_dive, dc_number, false); + graphics->plotDive(current_dive, dc_number); mainTab->updateDiveInfo(); } @@ -930,7 +930,7 @@ void MainWindow::on_actionNextDC_triggered() unsigned nrdc = number_of_computers(current_dive); dc_number = (dc_number + 1) % nrdc; configureToolbar(); - graphics->plotDive(current_dive, dc_number, false); + graphics->plotDive(current_dive, dc_number); mainTab->updateDiveInfo(); } -- cgit v1.2.3-70-g09d2