[Marble-commits] KDE/kdeedu/marble/src/lib/routing
Dennis Nienhüser
earthwings at gentoo.org
Thu Nov 11 22:51:19 CET 2010
SVN commit 1195739 by nienhueser:
Restrict the maximum width on Maemo to avoid annoying horizontal scrolling.
M +4 -0 RoutingProfileSettingsDialog.cpp
--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingProfileSettingsDialog.cpp #1195738:1195739
@@ -28,6 +28,10 @@
{
m_ui = new Ui_RoutingProfileSettingsDialog();
m_ui->setupUi( this );
+ bool const smallScreen = MarbleGlobal::getInstance()->profiles() & MarbleGlobal::SmallScreen;
+ if ( smallScreen ) {
+ setMaximumWidth( 800 );
+ }
QList<RunnerPlugin*> allPlugins = pluginManager->runnerPlugins();
foreach( RunnerPlugin* plugin, allPlugins ) {
More information about the Marble-commits
mailing list