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>
This commit is contained in:
Dirk Hohndel 2014-07-02 13:58:06 -07:00
parent 635a7ab771
commit ce47683de8
3 changed files with 8 additions and 6 deletions

View file

@ -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();