aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-01 20:58:38 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-01 12:38:50 -0800
commite943065977239d670f0176f6d09cffbb56960db9 (patch)
tree67ad20fd1ab101524ab7e78a22c5dbd9ba09e5aa /desktop-widgets
parent714ebfe826361d0a92b4ab9a56bc7863c8c3e3eb (diff)
downloadsubsurface-e943065977239d670f0176f6d09cffbb56960db9.tar.gz
cleanup: remove "GpsLocation *locationProvider" from MainWindow
This is mobile only and not used on desktop. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/divelistview.cpp1
-rw-r--r--desktop-widgets/mainwindow.h2
2 files changed, 1 insertions, 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 <QFileDialog>
#include <QStandardPaths>
#include <QMessageBox>
+#include <QNetworkReply>
#include <QHeaderView>
#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<dive *> &dives, DiveField field);