mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
09e7c61fee
commit
1c64a986ee
2 changed files with 2 additions and 2 deletions
|
@ -343,7 +343,7 @@ void GlobeGPS::resizeEvent(QResizeEvent *event)
|
||||||
|
|
||||||
GlobeGPS::GlobeGPS(QWidget* parent) { setText("MARBLE DISABLED AT BUILD TIME"); }
|
GlobeGPS::GlobeGPS(QWidget* parent) { setText("MARBLE DISABLED AT BUILD TIME"); }
|
||||||
void GlobeGPS::repopulateLabels() {}
|
void GlobeGPS::repopulateLabels() {}
|
||||||
void GlobeGPS::centerOn(dive* dive) {}
|
void GlobeGPS::centerOnCurrentDive() {}
|
||||||
bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev) {}
|
bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev) {}
|
||||||
void GlobeGPS::prepareForGetDiveCoordinates(struct dive *dive) {}
|
void GlobeGPS::prepareForGetDiveCoordinates(struct dive *dive) {}
|
||||||
void GlobeGPS::reload() {}
|
void GlobeGPS::reload() {}
|
||||||
|
|
|
@ -54,7 +54,7 @@ public:
|
||||||
GlobeGPS(QWidget *parent);
|
GlobeGPS(QWidget *parent);
|
||||||
void reload();
|
void reload();
|
||||||
void repopulateLabels();
|
void repopulateLabels();
|
||||||
void centerOn(struct dive* dive);
|
void centerOnCurrentDive();
|
||||||
bool eventFilter(QObject*, QEvent*);
|
bool eventFilter(QObject*, QEvent*);
|
||||||
public slots:
|
public slots:
|
||||||
void prepareForGetDiveCoordinates(struct dive *dive);
|
void prepareForGetDiveCoordinates(struct dive *dive);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue