mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
bd6b714be1
commit
159dc15f99
2 changed files with 7 additions and 7 deletions
|
@ -189,7 +189,7 @@ void ToolTipItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
|
|||
}
|
||||
}
|
||||
|
||||
void ToolTipItem::persistPos()
|
||||
void ToolTipItem::persistPos() const
|
||||
{
|
||||
qPrefDisplay::set_tooltip_position(pos());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue