diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-07-29 23:03:32 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-30 12:52:31 -0700 |
commit | 3b9bceacb6efcd3e97c95077a2295c931c834514 (patch) | |
tree | c40ae2d7529f5fd6aab9d9041c785202fe0c61a0 /qt-ui/divepicturewidget.h | |
parent | 1e6986d87010a636d151f77b3da2a40d52a95178 (diff) | |
download | subsurface-3b9bceacb6efcd3e97c95077a2295c931c834514.tar.gz |
Implement the functionality of remove_picture.
Added the remove_picture functionality, with code
shamelessy stolen from remove_event, and hoock it
up with the interface.
Fixes #650
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divepicturewidget.h')
-rw-r--r-- | qt-ui/divepicturewidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/divepicturewidget.h b/qt-ui/divepicturewidget.h index a0fd2693a..6f53bee09 100644 --- a/qt-ui/divepicturewidget.h +++ b/qt-ui/divepicturewidget.h @@ -19,6 +19,7 @@ public: virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; void updateDivePictures(); + void removePicture(const QString& fileUrl); private: DivePictureModel(); |