From fe66fe5ff6d508ab893bde99f74f5a73c68e8461 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 24 May 2013 20:45:05 -0700 Subject: 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 --- qt-ui/globe.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 525a802c9..5f99eaf3d 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -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() -- cgit v1.2.3-70-g09d2