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 <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-05-08 22:13:53 +02:00 committed by Dirk Hohndel
parent 543f226db0
commit 232098ad96
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::repopulateLabels() {}
void GlobeGPS::centerOn(dive* dive) {} void GlobeGPS::centerOn(dive* dive) {}
bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev) {} bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev) {}
void GlobeGPS::prepareForGetDiveCoordinates() {} void GlobeGPS::prepareForGetDiveCoordinates(struct dive *dive) {}
void GlobeGPS::reload() {} void GlobeGPS::reload() {}
#endif #endif

View file

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