From 68af9f0afb86b8a98d0b5029cdbf746d95627877 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 6 Aug 2014 18:05:54 -0300 Subject: Delete pictures from the Widget by pressing delete Select the picture, press delete, profit. [Dirk Hohndel: removed the stray hunk that snuck into this patch] Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/profile/divepixmapitem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/profile/divepixmapitem.h') diff --git a/qt-ui/profile/divepixmapitem.h b/qt-ui/profile/divepixmapitem.h index d39f26db6..963e641e8 100644 --- a/qt-ui/profile/divepixmapitem.h +++ b/qt-ui/profile/divepixmapitem.h @@ -19,6 +19,7 @@ class DivePictureItem : public DivePixmapItem { Q_PROPERTY(qreal scale WRITE setScale READ scale) public: DivePictureItem(QObject *parent = 0); + virtual ~DivePictureItem(); void setPixmap(const QPixmap& pix); public slots: void settingsChanged(); -- cgit v1.2.3-70-g09d2