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>
This commit is contained in:
Tomaz Canabrava 2013-11-22 00:33:44 -02:00 committed by Dirk Hohndel
parent abc81fbd01
commit a3ddb16d88

View file

@ -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);