aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-11 06:52:14 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-12 09:30:45 -0700
commit93d348fa592ecbd20d3ce1de1fade1ca4654a899 (patch)
treeaf58dfb29128cd0871a265f30c0411f14caa6d28
parentd8ca04626589221c5f7c178e882cfaa4c095ce2a (diff)
downloadsubsurface-93d348fa592ecbd20d3ce1de1fade1ca4654a899.tar.gz
Globe: Remove workarounds for ancient Marble versions
We build against our own Marble, anyway. So this isn't needed anymore. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/globe.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp
index 41b250052..244edf672 100644
--- a/qt-ui/globe.cpp
+++ b/qt-ui/globe.cpp
@@ -18,21 +18,11 @@
#include <marble/MapThemeManager.h>
#include <marble/GeoDataStyle.h>
#include <marble/GeoDataIconStyle.h>
+#include <marble/GeoDataTreeModel.h>
#ifdef MARBLE_SUBSURFACE_BRANCH
#include <marble/MarbleDebug.h>
#endif
-#if INCOMPLETE_MARBLE
-#include "marble/GeoDataTreeModel.h"
-#else
-#include <marble/GeoDataTreeModel.h>
-#endif
-
-// as of Marble 4.10 (which has MARBLE_VERSION 0x001000) zoomView is
-// deprecated and has been replaced by setZoom with the same function signature
-#if MARBLE_VERSION < 0x001000
-#define setZoom zoomView
-#endif
GlobeGPS::GlobeGPS(QWidget *parent) : MarbleWidget(parent),
loadedDives(0),