diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-07 13:58:07 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-07 15:17:47 -0700 |
commit | 2bc76beb65bacd8640170d85e40bdc844a368570 (patch) | |
tree | b86d3115dbedb2ea59676d6e0bd40c658e16151a /qt-ui/globe.h | |
parent | a209dfbfd53f8ba4310a89ffde4cc02a6edb2d16 (diff) | |
download | subsurface-2bc76beb65bacd8640170d85e40bdc844a368570.tar.gz |
Globe: we always center on the current dive
Simplify the API (we'll take advantage of this in the next commit).
We always center the globe on the current dive, so no point in passing
that dive in.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/globe.h')
-rw-r--r-- | qt-ui/globe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/globe.h b/qt-ui/globe.h index 91ea46c02..7331a033f 100644 --- a/qt-ui/globe.h +++ b/qt-ui/globe.h @@ -19,7 +19,7 @@ public: GlobeGPS(QWidget *parent); void reload(); void repopulateLabels(); - void centerOn(struct dive *dive); + void centerOnCurrentDive(); bool eventFilter(QObject *, QEvent *); protected: |