summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-04-09 22:19:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-04-10 14:15:35 -0700
commit8c72ac6b9b00778e03dd60fe30bf4ba53d87ab55 (patch)
treef78894db279d1d985722e58109ec244c0ceb3336 /desktop-widgets/mainwindow.cpp
parent4daf6878768fabb2db15fae4e202aacc47676dee (diff)
downloadsubsurface-8c72ac6b9b00778e03dd60fe30bf4ba53d87ab55.tar.gz
profile: remove force parameter from ProfileWidget2::plotDive()
The last user was removed in 2789bb05b133a7cf54081d58d4f5c51c8977e951. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
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();
}