From e943065977239d670f0176f6d09cffbb56960db9 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 1 Jan 2021 20:58:38 +0100 Subject: [PATCH] cleanup: remove "GpsLocation *locationProvider" from MainWindow This is mobile only and not used on desktop. Signed-off-by: Berthold Stoeger --- desktop-widgets/divelistview.cpp | 1 + desktop-widgets/mainwindow.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp index 3d5974c53..c08998e5f 100644 --- a/desktop-widgets/divelistview.cpp +++ b/desktop-widgets/divelistview.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include #include "commands/command.h" #include "commands/command_base.h" diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index 90459fcfa..eb5d76447 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -20,7 +20,6 @@ #include "desktop-widgets/notificationwidget.h" #include "desktop-widgets/filterwidget.h" #include "core/applicationstate.h" -#include "core/gpslocation.h" #include "core/dive.h" #include "core/subsurface-qt/divelistnotifier.h" @@ -230,7 +229,6 @@ private: static void addWidgets(const Quadrant &, QStackedWidget *); void registerApplicationState(ApplicationState state, Quadrants q); - GpsLocation *locationProvider; QMenu *connections; QAction *share_on_fb; void divesChanged(const QVector &dives, DiveField field);