diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-06-09 10:19:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-09 11:22:41 -0700 |
commit | d88da535864dde8206359bcdbdda78e7b0847c9c (patch) | |
tree | 2cc5d9aba079de4c9ea2cb952b817f37cd42a0c2 /qt-ui/globe.h | |
parent | d9801b67b4dc7b925b356d2574cafaa03e598a3b (diff) | |
download | subsurface-d88da535864dde8206359bcdbdda78e7b0847c9c.tar.gz |
Fix building with NO_MARBLE issue
We can't build with -DNO_MARBLE after some previous commit broke
globe.cpp
- centerOnCurrentDive() is still existing in the code while removed from
header in 6b81fb49d09.
- Some referenced to MainWindow::instance()->globe() even if we are
building with no marble.
- include stdint.h
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/globe.h')
-rw-r--r-- | qt-ui/globe.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/globe.h b/qt-ui/globe.h index 31683dc35..903b9f89c 100644 --- a/qt-ui/globe.h +++ b/qt-ui/globe.h @@ -1,8 +1,9 @@ #ifndef GLOBE_H #define GLOBE_H -#ifndef NO_MARBLE #include <stdint.h> + +#ifndef NO_MARBLE #include <marble/MarbleWidget.h> #include <marble/GeoDataCoordinates.h> @@ -64,6 +65,7 @@ public: void reload(); void repopulateLabels(); void centerOnDiveSite(uint32_t uuid); + void centerOnCurrentDive(); bool eventFilter(QObject *, QEvent *); public slots: |