mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
bf7d61e74e
commit
fe66fe5ff6
1 changed files with 0 additions and 7 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue