From fe300d6d44d063be756418cd351b9c756dc29bf5 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Thu, 16 Feb 2023 14:32:16 +0000 Subject: [PATCH] Remove APRS items from map on close. --- plugins/feature/aprs/aprsgui.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/feature/aprs/aprsgui.h b/plugins/feature/aprs/aprsgui.h index 9468b8a51..b3acda7cf 100644 --- a/plugins/feature/aprs/aprsgui.h +++ b/plugins/feature/aprs/aprsgui.h @@ -151,9 +151,12 @@ private: QDateTimeAxis m_motionChartXAxis; QValueAxis m_motionChartYAxis; + QHash m_mapItems; + explicit APRSGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *feature, QWidget* parent = nullptr); virtual ~APRSGUI(); + void removeFromMap(const QString& name); void blockApplySettings(bool block); void applySettings(bool force = false); void displayTableSettings(QTableWidget *table, QMenu *menu, int *columnIndexes, int *columnSizes, int columns);