[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/marble/src
From: Dennis Nienhüser <earthwings () gentoo ! org>
Date: 2010-12-22 13:50:07
Message-ID: 20101222135007.9A187AC8B0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1208606 by nienhueser:
Make openstreetmap the default theme on Maemo.
M +7 -0 ControlView.cpp
--- trunk/KDE/kdeedu/marble/src/ControlView.cpp #1208605:1208606
@@ -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