[Marble-commits] KDE/kdeedu/marble/src/plugins/render/mapscale
Dennis Nienhüser
earthwings at gentoo.org
Tue Nov 9 21:04:14 CET 2010
SVN commit 1194760 by nienhueser:
Use a different default position on Maemo to avoid overlaps.
M +4 -0 MapScaleFloatItem.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/mapscale/MapScaleFloatItem.cpp #1194759:1194760
@@ -41,7 +41,11 @@
m_unit(tr("km")),
m_scaleInitDone( false )
{
+ bool const smallScreen = MarbleGlobal::getInstance()->profiles() & MarbleGlobal::SmallScreen;
+ if ( smallScreen ) {
+ setPosition( QPointF( 220.0, 10.5 ) );
}
+}
MapScaleFloatItem::~MapScaleFloatItem()
{
More information about the Marble-commits
mailing list