diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-04 00:17:31 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-10 15:57:39 -0800 |
commit | 45ee3544d10aa5c85cb5a01998d9f92288af745e (patch) | |
tree | abff2c02cc37bb0fbbbc3e72b5b2aac469153b39 /profile-widget/diveprofileitem.h | |
parent | 0392994df0c9cd99df946633d6e318bd0548a3b9 (diff) | |
download | subsurface-45ee3544d10aa5c85cb5a01998d9f92288af745e.tar.gz |
profile: remove DiveProfileItem::settingsToggled
This was used to force a replot on preferences changes.
However, the profile now does a replot in such a case
by itself. This can be removed.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/diveprofileitem.h')
-rw-r--r-- | profile-widget/diveprofileitem.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/profile-widget/diveprofileitem.h b/profile-widget/diveprofileitem.h index da6217170..016d650a2 100644 --- a/profile-widget/diveprofileitem.h +++ b/profile-widget/diveprofileitem.h @@ -68,7 +68,6 @@ public: DiveProfileItem(const DivePlotDataModel &model, const DiveCartesianAxis &hAxis, int hColumn, const DiveCartesianAxis &vAxis, int vColumn); void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0) override; void replot() override; - void settingsToggled(bool toggled); void plot_depth_sample(struct plot_data *entry, QFlags<Qt::AlignmentFlag> flags, const QColor &color); int maxCeiling(int row); |