summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-09-11 11:31:02 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-11 09:18:55 -0700
commit654a7be834189ced04c26904026c2710438b23df (patch)
tree6e6ccfeec89179cb0f6212fbf1d94034bac26d45 /qt-ui/divelistview.cpp
parent5a1c041b78fa8fe74b6c2eee26416d287032d61f (diff)
downloadsubsurface-654a7be834189ced04c26904026c2710438b23df.tar.gz
Add checkbox to force images to match dives
Give the user the possibility to attach images to a dive even when the times do not match Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r--qt-ui/divelistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index c25bb17cb..2ee5f5dcd 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -925,7 +925,7 @@ void DiveListView::matchImagesToDives(QStringList fileNames)
for_each_dive (j, dive) {
if (!dive->selected)
continue;
- dive_create_picture(dive, copy_string(fileName.toUtf8().data()), shiftDialog.amount());
+ dive_create_picture(dive, copy_string(fileName.toUtf8().data()), shiftDialog.amount(), shiftDialog.matchAll());
}
}