Fix building with NO_MARBLE, centerOnCurrentDive

Commit 2bc76beb65 ("Globe: we always center on the current dive") changed
GlobeGPS::centerOn to GlobeGPS::centerOnCurrentDive. This patches the
dummy in NO_MARBLE, too.

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:43 +02:00 committed by Dirk Hohndel
parent 09e7c61fee
commit 1c64a986ee
2 changed files with 2 additions and 2 deletions

View file

@ -343,7 +343,7 @@ void GlobeGPS::resizeEvent(QResizeEvent *event)
GlobeGPS::GlobeGPS(QWidget* parent) { setText("MARBLE DISABLED AT BUILD TIME"); }
void GlobeGPS::repopulateLabels() {}
void GlobeGPS::centerOn(dive* dive) {}
void GlobeGPS::centerOnCurrentDive() {}
bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev) {}
void GlobeGPS::prepareForGetDiveCoordinates(struct dive *dive) {}
void GlobeGPS::reload() {}

View file

@ -54,7 +54,7 @@ public:
GlobeGPS(QWidget *parent);
void reload();
void repopulateLabels();
void centerOn(struct dive* dive);
void centerOnCurrentDive();
bool eventFilter(QObject*, QEvent*);
public slots:
void prepareForGetDiveCoordinates(struct dive *dive);