aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget/divepixmapitem.cpp
diff options
context:
space:
mode:
authorGravatar Guido Lerch <guido.lerch@gmail.com>2015-10-20 21:10:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-03 08:31:41 -0800
commit889fa1e4ccdee3072653fa23b66047ce60eee8d3 (patch)
tree2a54b6ed9f073261b3ce29adaec3e30a349acc77 /profile-widget/divepixmapitem.cpp
parent951e3d920b943baa105573de181f727319494a25 (diff)
downloadsubsurface-889fa1e4ccdee3072653fa23b66047ce60eee8d3.tar.gz
Context menu for images: small fix
Required change within DivePictureItem, adding update parameter defaulted to true in this case. Signed-off-by: Guido Lerch <guido.lerch@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/divepixmapitem.cpp')
-rw-r--r--profile-widget/divepixmapitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/divepixmapitem.cpp b/profile-widget/divepixmapitem.cpp
index 627473c2f..7d95b79c2 100644
--- a/profile-widget/divepixmapitem.cpp
+++ b/profile-widget/divepixmapitem.cpp
@@ -126,5 +126,5 @@ void DivePictureItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
void DivePictureItem::removePicture()
{
- DivePictureModel::instance()->removePicture(fileUrl);
+ DivePictureModel::instance()->removePicture(fileUrl, true);
}