diff options
author | 2019-05-03 12:10:19 +0200 | |
---|---|---|
committer | 2019-05-11 12:06:19 -0700 | |
commit | d4a91a52fa54db951d09f9433b392d50183bf7ab (patch) | |
tree | e1a40541edcd23d0061ab6d263f65e13387a3959 /desktop-widgets/tab-widgets/maintab.h | |
parent | 48b8129137ed3db1c4b0940301c8bfc9662bcee3 (diff) | |
download | subsurface-d4a91a52fa54db951d09f9433b392d50183bf7ab.tar.gz |
Map: reload on selection change directly
When changing the dive selection, we have to reload the map to show
the correctly highlighted flags. Do this directly by hooking into
the DiveListNotifier::divesChanged signal instead of indirectly
via the MainTab.
Moreover, on reload center on the highlighted dive sites.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.h')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h index c65d7fe32..cdb761afd 100644 --- a/desktop-widgets/tab-widgets/maintab.h +++ b/desktop-widgets/tab-widgets/maintab.h @@ -44,8 +44,6 @@ public: void nextInputField(QKeyEvent *event); void stealFocus(); -signals: - void diveSiteChanged(); public slots: void divesChanged(dive_trip *trip, const QVector<dive *> &dives, DiveField field); |