mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Context menu for images: change DivePicture model
Altering DivePicture model to allow deleting images from the QListView without immediate updating of the list. Updating is determined by an additioanl parameter Signed-off-by: Guido Lerch <guido.lerch@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3c3523f9b8
commit
8ce471c2f5
2 changed files with 7 additions and 5 deletions
|
@ -33,7 +33,7 @@ public:
|
|||
virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
virtual void updateDivePictures();
|
||||
void updateDivePicturesWhenDone(QList<QFuture<void> >);
|
||||
void removePicture(const QString& fileUrl);
|
||||
void removePicture(const QString& fileUrl, bool last);
|
||||
|
||||
protected:
|
||||
DivePictureModel();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue