summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDivePhotos.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-12 08:25:40 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-12 08:25:58 -0700
commit1b8b1120482e9426da68ea08cb23afca85d4b97d (patch)
tree76a83ea285643c623d737334ad6a951cff35d602 /desktop-widgets/tab-widgets/TabDivePhotos.h
parentb7b2e813ad21cb4c8d59a7a7940110c346e3bead (diff)
downloadsubsurface-1b8b1120482e9426da68ea08cb23afca85d4b97d.tar.gz
Fix slot handling in Photos tab
This clearly has never been tested, never worked. Oh well. Fixes #478 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDivePhotos.h')
-rw-r--r--desktop-widgets/tab-widgets/TabDivePhotos.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/tab-widgets/TabDivePhotos.h b/desktop-widgets/tab-widgets/TabDivePhotos.h
index 97f6f86d6..9b711595c 100644
--- a/desktop-widgets/tab-widgets/TabDivePhotos.h
+++ b/desktop-widgets/tab-widgets/TabDivePhotos.h
@@ -21,12 +21,13 @@ public:
protected:
void contextMenuEvent(QContextMenuEvent *ev) override;
-private:
+private slots:
void addPhotosFromFile();
void addPhotosFromURL();
void removeAllPhotos();
void removeSelectedPhotos();
+private:
Ui::TabDivePhotos *ui;
DivePictureModel *divePictureModel;
};