From b9cd9e17d18a25094345d02e13bcc05fbde2143b Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 12 Feb 2021 18:28:35 +0100 Subject: cleanup: make ToolTipItem::addToolTip() private This was not called from anywhere else. Signed-off-by: Berthold Stoeger --- profile-widget/divetooltipitem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'profile-widget') diff --git a/profile-widget/divetooltipitem.h b/profile-widget/divetooltipitem.h index cb18b34df..78a6d09ca 100644 --- a/profile-widget/divetooltipitem.h +++ b/profile-widget/divetooltipitem.h @@ -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 oldSelection; + + void addToolTip(const QString &toolTip, const QIcon &icon = QIcon(), const QPixmap &pixmap = QPixmap()); }; #endif // DIVETOOLTIPITEM_H -- cgit v1.2.3-70-g09d2