[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.6/kdeedu/marble/src
From: Dennis Nienhüser <earthwings () gentoo ! org>
Date: 2010-12-23 15:39:30
Message-ID: 20101223153930.53E583E1F1 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1208872 by nienhueser:
Make openstreetmap the default theme on Maemo.
Backport of commit 1208606.
M +7 -0 ControlView.cpp
--- branches/KDE/4.6/kdeedu/marble/src/ControlView.cpp #1208871:1208872
@@ -154,9 +154,16 @@
QString ControlView::defaultMapThemeId() const
{
QStringList fallBackThemes;
+ bool const smallScreen = MarbleGlobal::getInstance()->profiles() & MarbleGlobal::SmallScreen;
+ if ( smallScreen ) {
+ fallBackThemes << "earth/openstreetmap/openstreetmap.dgml";
fallBackThemes << "earth/srtm/srtm.dgml";
fallBackThemes << "earth/bluemarble/bluemarble.dgml";
+ } else {
+ fallBackThemes << "earth/srtm/srtm.dgml";
+ fallBackThemes << "earth/bluemarble/bluemarble.dgml";
fallBackThemes << "earth/openstreetmap/openstreetmap.dgml";
+ }
QStringList installedThemes;
QList<GeoSceneDocument const*> themes = m_mapThemeManager->mapThemes();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic