cleanup: make ToolTipItem::addToolTip() private

This was not called from anywhere else.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-02-12 18:28:35 +01:00 committed by Dirk Hohndel
parent d66d1e2a3b
commit b9cd9e17d1

View file

@ -35,7 +35,6 @@ public:
void collapse();
void expand();
void clear();
void addToolTip(const QString &toolTip, const QIcon &icon = QIcon(), const QPixmap &pixmap = QPixmap());
void refresh(const dive *d, const QPointF &pos);
bool isExpanded() const;
void persistPos();
@ -62,6 +61,8 @@ private:
int lastTime;
QElapsedTimer refreshTime;
QList<QGraphicsItem*> oldSelection;
void addToolTip(const QString &toolTip, const QIcon &icon = QIcon(), const QPixmap &pixmap = QPixmap());
};
#endif // DIVETOOLTIPITEM_H