diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-24 20:45:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-25 08:18:06 -0700 |
commit | fe66fe5ff6d508ab893bde99f74f5a73c68e8461 (patch) | |
tree | eb4ca7c0a164c22d1291c1c64ce6a4de5764b348 /qt-ui/globe.cpp | |
parent | bf7d61e74e4ecfc0d0c889cca116ee1329cfcece (diff) | |
download | subsurface-fe66fe5ff6d508ab893bde99f74f5a73c68e8461.tar.gz |
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>
Diffstat (limited to 'qt-ui/globe.cpp')
-rw-r--r-- | qt-ui/globe.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
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() |