[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeplasma-addons/wallpapers/marble
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2010-10-01 0:42:43
Message-ID: 20101001004243.D9522AC891 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1181435 by cfeck:

Fix compile after recent API change (see r1181358)


 M  +2 -1      marble.cpp  


--- trunk/KDE/kdeplasma-addons/wallpapers/marble/marble.cpp #1181434:1181435
@@ -24,6 +24,7 @@
 #include <marble/GeoPainter.h>
 #include <marble/MapThemeManager.h>
 #include <marble/MarbleMap.h>
+#include <marble/MarbleModel.h>
 #include <marble/RenderPlugin.h>
 #include <marble/SunLocator.h>
 #include <marble/ViewportParams.h>
@@ -73,7 +74,7 @@
         m_map = new MarbleMap();
 
         // Get default position from marble to initialize on first startup (empty config)
-        m_map->home(home_lon, home_lat, home_zoom);
+        m_map->model()->home(home_lon, home_lat, home_zoom);
 
         // These settings apply to Marble's "satellite" view mostly, e.g. make it beautiful
         m_map->setShowClouds(true);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic