From d4a91a52fa54db951d09f9433b392d50183bf7ab Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 3 May 2019 12:10:19 +0200 Subject: 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 --- desktop-widgets/tab-widgets/maintab.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'desktop-widgets/tab-widgets/maintab.h') 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 &dives, DiveField field); -- cgit v1.2.3-70-g09d2