aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/divepicturemodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-10 09:42:14 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-10 10:53:03 -0700
commit3f3869ff650229e99262ee07b14e1d14ca973d10 (patch)
tree7508ff4e13d831855551d6737d0373e67e126470 /qt-models/divepicturemodel.cpp
parent34657f62ae5209b2f1c44efde053aba43e783e5e (diff)
downloadsubsurface-3f3869ff650229e99262ee07b14e1d14ca973d10.tar.gz
media: move picture function from dive.c to picture.c
Currently, move only those functions that do not access dive structures. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divepicturemodel.cpp')
-rw-r--r--qt-models/divepicturemodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/divepicturemodel.cpp b/qt-models/divepicturemodel.cpp
index 8156693ef..1eb0767f6 100644
--- a/qt-models/divepicturemodel.cpp
+++ b/qt-models/divepicturemodel.cpp
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
#include "qt-models/divepicturemodel.h"
-#include "core/dive.h"
#include "core/metrics.h"
-#include "core/divelist.h"
+#include "core/divelist.h" // for mark_divelist_changed()
#include "core/imagedownloader.h"
+#include "core/picture.h"
#include "core/qthelper.h"
#include <QFileInfo>