From ce47683de82b3eb0f6e41d3cb5f2b6f035d98afa Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 2 Jul 2014 13:58:06 -0700 Subject: 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 --- qt-ui/divepicturewidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/divepicturewidget.h') 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(); -- cgit v1.2.3-70-g09d2