aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/divelistnotifier.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-08-17 11:14:42 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-08-18 13:22:02 -0700
commite7a5ec46f5577656acd1ce44b34e761193ab015b (patch)
tree512c0739ba44f41e44ea2c1d6e7ccddd4a33fdc9 /core/subsurface-qt/divelistnotifier.h
parentfbe17e620e7b92b2af0d65d7b4c8fe688f2b6058 (diff)
downloadsubsurface-e7a5ec46f5577656acd1ce44b34e761193ab015b.tar.gz
undo/device: adjust device management infrastructure
We no longer need the remove infrastructure, and the edit nickname function becomes much more intuitive to use by passing in the dive computer for which we want to create a nickname instead of the internal index into the array of devices. This also removes / simplifies the device list update signals in the DiveListNotifier. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/divelistnotifier.h')
-rw-r--r--core/subsurface-qt/divelistnotifier.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/subsurface-qt/divelistnotifier.h b/core/subsurface-qt/divelistnotifier.h
index 033458915..a778f7d91 100644
--- a/core/subsurface-qt/divelistnotifier.h
+++ b/core/subsurface-qt/divelistnotifier.h
@@ -132,9 +132,7 @@ signals:
void picturesAdded(dive *d, QVector<PictureObj> pics);
// Devices related signals
- void deviceAdded(int index);
- void deviceDeleted(int index);
- void deviceEdited(int index);
+ void deviceEdited();
// Filter related signals
void filterPresetAdded(int index);