From 91c20357f510fe7ea1c5740eb476fd718e41259c Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 14 May 2014 00:32:44 +0200 Subject: Fix building with NO_MARBLE prepareForGetDiveCoordinates Commit fb82da58a2 ("Globe: assume that we are looking at the current_dive") changed the prototype for GlobeGPS::prepareForGetDiveCoordinates. This patches the dummy in NO_MARBLE. 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(-) diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 37b77649f..d24a44791 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::centerOnCurrentDive() {} bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev) {} -void GlobeGPS::prepareForGetDiveCoordinates(struct dive *dive) {} +void GlobeGPS::prepareForGetDiveCoordinates() {} void GlobeGPS::reload() {} #endif diff --git a/qt-ui/globe.h b/qt-ui/globe.h index 1729d5ff3..0f68f7350 100644 --- a/qt-ui/globe.h +++ b/qt-ui/globe.h @@ -57,7 +57,7 @@ public: void centerOnCurrentDive(); bool eventFilter(QObject*, QEvent*); public slots: - void prepareForGetDiveCoordinates(struct dive *dive); + void prepareForGetDiveCoordinates(); }; #endif // NO_MARBLE -- cgit v1.2.3-70-g09d2