If we disable the compass, we don't need to place it, either

Just completing commit f1a4edc5497d ("Don't show the compass").

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-05-24 20:45:05 -07:00
parent bf7d61e74e
commit fe66fe5ff6

View file

@ -35,13 +35,6 @@ GlobeGPS::GlobeGPS(QWidget* parent) : MarbleWidget(parent), loadedDives(0)
setShowOverviewMap(false);
setShowScaleBar(true);
setShowCompass(false);
Q_FOREACH(AbstractFloatItem * floatItem, floatItems()) {
if (floatItem && floatItem->nameId() == "compass") {
floatItem->setPosition(QPoint(10, 10));
floatItem->setContentSize(QSize(50, 50));
}
}
}
void GlobeGPS::reload()