diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-05-28 00:19:22 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-29 16:13:03 -0700 |
commit | 51959d0feb9fa560f388b4f1204f5028fb80f70d (patch) | |
tree | 5c885fc580fcdf62874a21e0ff00c0eca6330bc1 /qt-models/filterpresetmodel.h | |
parent | 581eb1f563df9e7fa72371d936521e0bd55d9f18 (diff) | |
download | subsurface-51959d0feb9fa560f388b4f1204f5028fb80f70d.tar.gz |
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>
Diffstat (limited to 'qt-models/filterpresetmodel.h')
-rw-r--r-- | qt-models/filterpresetmodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-models/filterpresetmodel.h b/qt-models/filterpresetmodel.h index 26543666a..2c04456e0 100644 --- a/qt-models/filterpresetmodel.h +++ b/qt-models/filterpresetmodel.h @@ -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(); |