summaryrefslogtreecommitdiffstats
path: root/profile-widget/divetooltipitem.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-02-12 18:32:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-02-12 11:27:01 -0800
commit6ef4f377f0a6bc567f82fa34764c1d81cdab5a1a (patch)
tree3dbfaacf3e98a237e831b0223721618a2b93dec1 /profile-widget/divetooltipitem.h
parentb9cd9e17d18a25094345d02e13bcc05fbde2143b (diff)
downloadsubsurface-6ef4f377f0a6bc567f82fa34764c1d81cdab5a1a.tar.gz
cleanup: remove dead code from ToolTipItem::addToolTip()
There was never an icon passed to this function. Therefore, remove the parameter and the code that depends on it. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/divetooltipitem.h')
-rw-r--r--profile-widget/divetooltipitem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/divetooltipitem.h b/profile-widget/divetooltipitem.h
index 78a6d09ca..c19cbd138 100644
--- a/profile-widget/divetooltipitem.h
+++ b/profile-widget/divetooltipitem.h
@@ -62,7 +62,7 @@ private:
QElapsedTimer refreshTime;
QList<QGraphicsItem*> oldSelection;
- void addToolTip(const QString &toolTip, const QIcon &icon = QIcon(), const QPixmap &pixmap = QPixmap());
+ void addToolTip(const QString &toolTip, const QPixmap &pixmap);
};
#endif // DIVETOOLTIPITEM_H