aboutsummaryrefslogtreecommitdiffstats
path: root/core/parse-gpx.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-01 13:46:54 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-01 09:42:31 -0700
commit46cdf24e1111a0f1e3c393c8b5fe0707df38765b (patch)
tree7fb0577d87ba8e42ad2612e9b941aea8826a3fd6 /core/parse-gpx.h
parent95284c026e763482ef581c8b6298012d2c1fd941 (diff)
downloadsubsurface-46cdf24e1111a0f1e3c393c8b5fe0707df38765b.tar.gz
cleanup: only include QString in desktop-widgets/importgps.h
This included QFile, which is fatter and not needed here. Include QFile only in the actual translation unit. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/parse-gpx.h')
-rw-r--r--core/parse-gpx.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/parse-gpx.h b/core/parse-gpx.h
index f051a65ae..92be396ec 100644
--- a/core/parse-gpx.h
+++ b/core/parse-gpx.h
@@ -2,8 +2,7 @@
#ifndef PARSE_GPX_H
#define PARSE_GPX_H
-
-#include <QFile>
+#include <QString>
struct dive_coords { // This structure holds important information after parsing the GPX file:
time_t start_dive; // Start time of the current dive, obtained using current_dive (local time)
@@ -19,4 +18,3 @@ struct dive_coords { // This structure holds important information after
int getCoordsFromGPXFile(dive_coords *coords, QString fileName);
#endif
-