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>
This commit is contained in:
Berthold Stoeger 2021-02-12 18:32:40 +01:00 committed by Dirk Hohndel
parent b9cd9e17d1
commit 6ef4f377f0
2 changed files with 5 additions and 8 deletions

View file

@ -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