diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-05-08 22:13:53 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-08 14:57:59 -0700 |
commit | 232098ad9616275b4753c487b489c4ab5fc49619 (patch) | |
tree | 731d7e33938786b9e5660fc94f4e2fa44927e17e /qt-ui | |
parent | 543f226db0512e0f058eeb85a79439c580a3d12e (diff) | |
download | subsurface-232098ad9616275b4753c487b489c4ab5fc49619.tar.gz |
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>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/globe.cpp | 2 | ||||
-rw-r--r-- | 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 3a27e38d9..9f66e2bd1 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::centerOn(dive* dive) {} bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev) {} -void GlobeGPS::prepareForGetDiveCoordinates() {} +void GlobeGPS::prepareForGetDiveCoordinates(struct dive *dive) {} void GlobeGPS::reload() {} #endif diff --git a/qt-ui/globe.h b/qt-ui/globe.h index 2a631fbd1..add04ede4 100644 --- a/qt-ui/globe.h +++ b/qt-ui/globe.h @@ -57,7 +57,7 @@ public: void centerOn(struct dive* dive); bool eventFilter(QObject*, QEvent*); public slots: - void prepareForGetDiveCoordinates(); + void prepareForGetDiveCoordinates(struct dive *dive); }; #endif // NO_MARBLE |