summaryrefslogtreecommitdiffstats
path: root/profile-widget/qmlprofile.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 /profile-widget/qmlprofile.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 'profile-widget/qmlprofile.cpp')
-rw-r--r--profile-widget/qmlprofile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile-widget/qmlprofile.cpp b/profile-widget/qmlprofile.cpp
index 388b1e731..a0f68f0db 100644
--- a/profile-widget/qmlprofile.cpp
+++ b/profile-widget/qmlprofile.cpp
@@ -135,7 +135,7 @@ void QMLProfile::updateProfile()
return;
if (verbose)
qDebug() << "update profile for dive #" << d->number << "offeset" << QString::number(m_xOffset, 'f', 1) << "/" << QString::number(m_yOffset, 'f', 1);
- m_profileWidget->plotDive(d, dc_number, true);
+ m_profileWidget->plotDive(d, dc_number);
}
void QMLProfile::setDiveId(int diveId)
@@ -189,7 +189,7 @@ void QMLProfile::divesChanged(const QVector<dive *> &dives, DiveField)
for (struct dive *d: dives) {
if (d->id == m_diveId) {
qDebug() << "dive #" << d->number << "changed, trigger profile update";
- m_profileWidget->plotDive(d, dc_number, true);
+ m_profileWidget->plotDive(d, dc_number);
triggerUpdate();
return;
}