summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.cpp
diff options
context:
space:
mode:
authorGravatar Guillaume GARDET <guillaume.gardet@free.fr>2014-12-17 15:35:29 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-17 08:09:54 -0800
commit1910d6d54641e592f781406a955094e04d780f19 (patch)
tree7407a508f36b87ac7b0250d3bffb1f4c3e377a48 /qt-ui/globe.cpp
parentd67cce2af849209bd3222f7ee030b30c4686d666 (diff)
downloadsubsurface-1910d6d54641e592f781406a955094e04d780f19.tar.gz
Fix compilation with upstream Marble
<marble/MarbleDebug.h> is not availaible in all Marble versions. As Marble::MarbleDebug::setEnabled(verbose) is only used when MARBLE_SUBSURFACE_BRANCH is defined, also include header file only when MARBLE_SUBSURFACE_BRANCH is set. Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/globe.cpp')
-rw-r--r--qt-ui/globe.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp
index 0f17f32fa..bbdf19722 100644
--- a/qt-ui/globe.cpp
+++ b/qt-ui/globe.cpp
@@ -18,7 +18,9 @@
#include <marble/MarbleDirs.h>
#include <marble/MapThemeManager.h>
#include <marble/GeoDataLineString.h>
+#ifdef MARBLE_SUBSURFACE_BRANCH
#include <marble/MarbleDebug.h>
+#endif
#if INCOMPLETE_MARBLE
#include "marble/GeoDataTreeModel.h"
#else