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 <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-05-14 00:32:44 +02:00 committed by Dirk Hohndel
parent 1c64a986ee
commit 91c20357f5
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -57,7 +57,7 @@ public:
void centerOnCurrentDive();
bool eventFilter(QObject*, QEvent*);
public slots:
void prepareForGetDiveCoordinates(struct dive *dive);
void prepareForGetDiveCoordinates();
};
#endif // NO_MARBLE