diff --git a/profile-widget/divepixmapitem.cpp b/profile-widget/divepixmapitem.cpp index 301d80257..0e46519b6 100644 --- a/profile-widget/divepixmapitem.cpp +++ b/profile-widget/divepixmapitem.cpp @@ -31,16 +31,6 @@ void CloseButtonItem::mousePressEvent(QGraphicsSceneMouseEvent *) qgraphicsitem_cast(parentItem())->removePicture(); } -void CloseButtonItem::hide() -{ - DivePixmapItem::hide(); -} - -void CloseButtonItem::show() -{ - DivePixmapItem::show(); -} - DivePictureItem::DivePictureItem(QGraphicsItem *parent): DivePixmapItem(parent), canvas(new QGraphicsRectItem(this)), shadow(new QGraphicsRectItem(this)), diff --git a/profile-widget/divepixmapitem.h b/profile-widget/divepixmapitem.h index 38007995c..545ecb2ae 100644 --- a/profile-widget/divepixmapitem.h +++ b/profile-widget/divepixmapitem.h @@ -19,9 +19,6 @@ class CloseButtonItem : public DivePixmapItem { Q_OBJECT public: CloseButtonItem(QGraphicsItem *parent = 0); -public slots: - void hide(); - void show(); private: void mousePressEvent(QGraphicsSceneMouseEvent *event) override; };