aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-02-12 18:28:35 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-02-12 11:27:01 -0800
commitb9cd9e17d18a25094345d02e13bcc05fbde2143b (patch)
treee30681a92c32ace844951162c485a576ae5d6843 /profile-widget
parentd66d1e2a3bdd17ff75d25458658b96e87896587b (diff)
downloadsubsurface-b9cd9e17d18a25094345d02e13bcc05fbde2143b.tar.gz
cleanup: make ToolTipItem::addToolTip() private
This was not called from anywhere else. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/divetooltipitem.h3
1 files changed, 2 insertions, 1 deletions
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<QGraphicsItem*> oldSelection;
+
+ void addToolTip(const QString &toolTip, const QIcon &icon = QIcon(), const QPixmap &pixmap = QPixmap());
};
#endif // DIVETOOLTIPITEM_H