diff options
Diffstat (limited to 'desktop-widgets/locationinformation.h')
-rw-r--r-- | desktop-widgets/locationinformation.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h index 0e53a4439..a936269e6 100644 --- a/desktop-widgets/locationinformation.h +++ b/desktop-widgets/locationinformation.h @@ -7,6 +7,7 @@ #include "ui_locationinformation.h" #include "modeldelegates.h" #include "qt-models/divelocationmodel.h" +#include "desktop-widgets/importgps.h" #include <stdint.h> #include <QAbstractListModel> #include <QSortFilterProxyModel> @@ -17,6 +18,7 @@ public: LocationInformationWidget(QWidget *parent = 0); bool eventFilter(QObject*, QEvent*) override; void initFields(dive_site *ds); + Ui::LocationInformation ui; protected: void enableLocationButtons(bool enable); @@ -31,6 +33,7 @@ public slots: void on_diveSiteDistance_textChanged(const QString &s); void reverseGeocode(); void mergeSelectedDiveSites(); + void on_GPSbutton_clicked(); private slots: void updateLabels(); void diveSiteChanged(struct dive_site *ds, int field); @@ -39,7 +42,6 @@ private slots: private: void keyPressEvent(QKeyEvent *e) override; void clearLabels(); - Ui::LocationInformation ui; GPSLocationInformationModel filter_model; dive_site *diveSite; int64_t closeDistance; // Distance of "close" dive sites in mm |