summaryrefslogtreecommitdiffstats
path: root/qt-ui/divepicturewidget.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-02 13:58:06 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 09:37:55 -0700
commitce47683de82b3eb0f6e41d3cb5f2b6f035d98afa (patch)
tree5ebe072430db354587ef3d2be37b8c808d79944f /qt-ui/divepicturewidget.h
parent635a7ab77171e9789f13accfa5904afe27460f70 (diff)
downloadsubsurface-ce47683de82b3eb0f6e41d3cb5f2b6f035d98afa.tar.gz
UI restructure: always display pictures for displayed dive
The only time this is ever wrong is in print mode, so let's never show pictures in print mode. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divepicturewidget.h')
-rw-r--r--qt-ui/divepicturewidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divepicturewidget.h b/qt-ui/divepicturewidget.h
index f0ddebed9..a0fd2693a 100644
--- a/qt-ui/divepicturewidget.h
+++ b/qt-ui/divepicturewidget.h
@@ -18,7 +18,7 @@ public:
virtual int columnCount(const QModelIndex &parent = QModelIndex()) const;
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;
- void updateDivePictures(int divenr);
+ void updateDivePictures();
private:
DivePictureModel();