filter: connect DiveListNotifier signals to filter preset model

Thus, the model is kept up to date if filter presets are changed
by undo commands.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-05-28 00:19:22 +02:00 committed by Dirk Hohndel
parent 581eb1f563
commit 51959d0feb
2 changed files with 24 additions and 0 deletions

View file

@ -16,6 +16,9 @@ public:
private
slots:
void reset();
void filterPresetAdded(int index);
void filterPresetChanged(int index);
void filterPresetRemoved(int index);
public:
// there is one global filter preset list, therefore this model is a singleton
static FilterPresetModel *instance();