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:
Berthold Stoeger 2021-04-25 17:53:39 +02:00 committed by Dirk Hohndel
parent bd6b714be1
commit 159dc15f99
2 changed files with 7 additions and 7 deletions

View file

@ -189,7 +189,7 @@ void ToolTipItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
}
}
void ToolTipItem::persistPos()
void ToolTipItem::persistPos() const
{
qPrefDisplay::set_tooltip_position(pos());
}