[Marble-commits] KDE/kdeedu/marble/src/lib

Jens-Michael Hoffmann jensmh at gmx.de
Tue Jan 19 01:47:15 CET 2010


SVN commit 1076878 by jmhoffmann:

Fix MarbleModel::addDownloadPolicies: use argument instead of member variable.

 M  +2 -2      MarbleModel.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/MarbleModel.cpp #1076877:1076878
@@ -926,8 +926,8 @@
 
     // As long as we don't have an Layer Management Class we just lookup 
     // the name of the layer that has the same name as the theme ID
-    const QString themeId = d->m_mapTheme->head()->theme();
-    GeoSceneLayer * const layer = static_cast<GeoSceneLayer*>( d->m_mapTheme->map()->layer( themeId ));
+    const QString themeId = mapTheme->head()->theme();
+    GeoSceneLayer * const layer = static_cast<GeoSceneLayer*>( mapTheme->map()->layer( themeId ));
     if ( !layer )
         return;
 


More information about the Marble-commits mailing list