profile: remove AbstractProfilePolygonItem::setVisible()

This was just a stub to make the setVisible() function a "slot".
Since there are no more signals using it, remove it.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-07-12 23:16:49 +02:00 committed by Dirk Hohndel
parent 17dabe5d09
commit ca7a2df121
2 changed files with 0 additions and 8 deletions

View file

@ -26,11 +26,6 @@ void AbstractProfilePolygonItem::clear()
texts.clear();
}
void AbstractProfilePolygonItem::setVisible(bool visible)
{
QGraphicsPolygonItem::setVisible(visible);
}
void AbstractProfilePolygonItem::replot(const dive *, bool)
{
// Calculate the polygon. This is the polygon that will be painted on screen

View file

@ -39,9 +39,6 @@ public:
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0) = 0;
void clear();
virtual void replot(const dive *d, bool in_planner);
public
slots:
void setVisible(bool visible);
protected:
const DiveCartesianAxis &hAxis;