aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/filtermodels.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-05-03 23:37:42 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-05-11 12:06:19 -0700
commitcd5489e08d4c76b96ae0d388d9efea24134dde8d (patch)
treea57304f2df8f331a76627b84259013aee70cbb11 /qt-models/filtermodels.h
parentd29f82c52d604ddf65476bf382d4bbf1b5634525 (diff)
downloadsubsurface-cd5489e08d4c76b96ae0d388d9efea24134dde8d.tar.gz
Map: in dive-site-edit mode, select those maps we filter for
When dive sites are edited, we shouldn't highlight the sites of the current dive, but the currently edited site(s). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/filtermodels.h')
-rw-r--r--qt-models/filtermodels.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/filtermodels.h b/qt-models/filtermodels.h
index 7520fbe16..b91b91a04 100644
--- a/qt-models/filtermodels.h
+++ b/qt-models/filtermodels.h
@@ -64,6 +64,7 @@ public:
int divesDisplayed;
bool lessThan(const QModelIndex &, const QModelIndex &) const override;
bool diveSiteMode() const; // returns true if we're filtering on dive site
+ const QVector<dive_site *> &filteredDiveSites() const;
public
slots:
void myInvalidate();