diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-02-12 18:32:40 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-02-12 11:27:01 -0800 |
commit | 6ef4f377f0a6bc567f82fa34764c1d81cdab5a1a (patch) | |
tree | 3dbfaacf3e98a237e831b0223721618a2b93dec1 /profile-widget/divetooltipitem.h | |
parent | b9cd9e17d18a25094345d02e13bcc05fbde2143b (diff) | |
download | subsurface-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.h | 2 |
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 |