[Marble-commits] KDE/kdeedu/marble/src/lib/routing
Dennis Nienhüser
earthwings at gentoo.org
Wed Nov 10 22:04:01 CET 2010
SVN commit 1195334 by nienhueser:
Show the search result list view on maemo when several results are available.
M +5 -0 RoutingWidget.cpp
--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingWidget.cpp #1195333:1195334
@@ -334,7 +334,12 @@
d->m_widget->centerOn( GeoDataLatLonBox::fromLineString( placemarks ) );
//d->m_ui.descriptionLabel->setVisible( false );
}
+
+ if ( MarbleGlobal::getInstance()->profiles() & MarbleGlobal::SmallScreen ) {
+ d->m_ui.directionsListView->setVisible( placemarks.size() > 1 );
+ d->m_ui.directionsListView->setMinimumHeight( 200 );
}
+}
void RoutingWidget::centerOnInputWidget( RoutingInputWidget *widget )
{
More information about the Marble-commits
mailing list