[Marble-commits] KDE/kdeedu/marble/src/plugins/render/navigation
Dennis Nienhüser
earthwings at gentoo.org
Sat Apr 10 22:16:10 CEST 2010
SVN commit 1113421 by nienhueser:
Device dependent default visibility of navigation float item
M +2 -2 NavigationFloatItem.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/navigation/NavigationFloatItem.cpp #1113420:1113421
@@ -42,8 +42,8 @@
{
// Plugin is enabled by default
setEnabled( true );
- // Plugin is not visible by default
- setVisible( false );
+ // Plugin is visible by default on devices with small screens only
+ setVisible( MarbleGlobal::getInstance()->profiles() & MarbleGlobal::SmallScreen );
if( m_profiles & MarbleGlobal::SmallScreen ) {
setFrame( FrameGraphicsItem::RectFrame );
More information about the Marble-commits
mailing list