From 232098ad9616275b4753c487b489c4ab5fc49619 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Thu, 8 May 2014 22:13:53 +0200 Subject: Fix building with NO_MARBLE after prototype change 4243fcb915 ("Dont set coordinates when two or more dives are selected") Changed how the prototypes in GlobeGPS looks. This aligns NO_MARBLE version of GlobeGPS with that. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/globe.cpp | 2 +- qt-ui/globe.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 3a27e38d9..9f66e2bd1 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -345,6 +345,6 @@ GlobeGPS::GlobeGPS(QWidget* parent) { setText("MARBLE DISABLED AT BUILD TIME"); void GlobeGPS::repopulateLabels() {} void GlobeGPS::centerOn(dive* dive) {} bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev) {} -void GlobeGPS::prepareForGetDiveCoordinates() {} +void GlobeGPS::prepareForGetDiveCoordinates(struct dive *dive) {} void GlobeGPS::reload() {} #endif diff --git a/qt-ui/globe.h b/qt-ui/globe.h index 2a631fbd1..add04ede4 100644 --- a/qt-ui/globe.h +++ b/qt-ui/globe.h @@ -57,7 +57,7 @@ public: void centerOn(struct dive* dive); bool eventFilter(QObject*, QEvent*); public slots: - void prepareForGetDiveCoordinates(); + void prepareForGetDiveCoordinates(struct dive *dive); }; #endif // NO_MARBLE -- cgit v1.2.3-70-g09d2