summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-11-14 16:59:35 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-14 10:01:50 -0800
commit52d5125926f430a86dc14a60911b04b8072c712a (patch)
tree03dc14f4e4d7d439fc145b7273bbb511eef90e03 /core
parent67d956b44c8d15eb661596ffde31e348fcbe7bb4 (diff)
downloadsubsurface-52d5125926f430a86dc14a60911b04b8072c712a.tar.gz
undo: add a general dives-imported signal
Add a general dives-imported signal for those cases where we want to fully rebuild models, notably, the completion models. The divesAdded signals are too fine, because they are sent per trip and we don't want to reload these models multiple times per import. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r--core/subsurface-qt/divelistnotifier.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/subsurface-qt/divelistnotifier.h b/core/subsurface-qt/divelistnotifier.h
index 07750de90..2cd6eefcb 100644
--- a/core/subsurface-qt/divelistnotifier.h
+++ b/core/subsurface-qt/divelistnotifier.h
@@ -91,6 +91,7 @@ signals:
void divesMovedBetweenTrips(dive_trip *from, dive_trip *to, bool deleteFrom, bool createTo, const QVector<dive *> &dives);
void divesChanged(const QVector<dive *> &dives, DiveField field);
void divesTimeChanged(timestamp_t delta, const QVector<dive *> &dives);
+ void divesImported(); // A general signal when multiple dives have been imported.
void cylindersReset(const QVector<dive *> &dives);
void cylinderAdded(dive *d, int pos);