diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-04-25 17:53:39 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-04-25 12:33:20 -0700 |
commit | 159dc15f99ce2235b194da627a3a4edaf2bb5ea8 (patch) | |
tree | 70d6a70de63d1fb2f6cbddbad003ade720ac5dd9 /profile-widget/divetooltipitem.cpp | |
parent | bd6b714be102b272725d61f8675c2cff322479e7 (diff) | |
download | subsurface-159dc15f99ce2235b194da627a3a4edaf2bb5ea8.tar.gz |
cleanup: make a few ToolTipItem member functions private
They were not used outside the class.
Moreover, mark ToolTipItem::persistPos() as const.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/divetooltipitem.cpp')
-rw-r--r-- | profile-widget/divetooltipitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/divetooltipitem.cpp b/profile-widget/divetooltipitem.cpp index 46e825bcd..a66d56c3c 100644 --- a/profile-widget/divetooltipitem.cpp +++ b/profile-widget/divetooltipitem.cpp @@ -189,7 +189,7 @@ void ToolTipItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) } } -void ToolTipItem::persistPos() +void ToolTipItem::persistPos() const { qPrefDisplay::set_tooltip_position(pos()); } |