summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-11-22 00:33:44 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-22 07:40:56 -0800
commita3ddb16d8820039313d316689e2e6e0b2db02528 (patch)
tree527e8b8b6552f6144ded5471c84e866969ab3409 /qt-ui/globe.cpp
parentabc81fbd01062fd2673dc44ff0f887fdf16d127f (diff)
downloadsubsurface-a3ddb16d8820039313d316689e2e6e0b2db02528.tar.gz
Hide everything 'floatable' by default on the globe.
Later we spacifically enable the scale, but Dirk asked me to use the bare minimum of marble. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/globe.cpp')
-rw-r--r--qt-ui/globe.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp
index 0dde6019c..8848ca306 100644
--- a/qt-ui/globe.cpp
+++ b/qt-ui/globe.cpp
@@ -51,6 +51,10 @@ GlobeGPS::GlobeGPS(QWidget* parent) : MarbleWidget(parent), loadedDives(0)
setProjection(Marble::Spherical);
setAnimationsEnabled(true);
+ Q_FOREACH(AbstractFloatItem *i, floatItems()){
+ i->setVisible(false);
+ }
+
setShowClouds(false);
setShowBorders(false);
setShowPlaces(true);