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

Bernhard Beschow bbeschow at cs.tu-berlin.de
Sat Nov 13 14:59:31 CET 2010


SVN commit 1196448 by beschow:

no need to call doResize() in MarbleMap::setMapThemeId() because

* the size of the map doesn't change and
* setNeedsUpdate() will also cause a repainting of the texture layers (just like doResize() did)

 M  +0 -2      MarbleMap.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/MarbleMap.cpp #1196447:1196448
@@ -734,8 +734,6 @@
     if ( mapTheme ) {
         d->m_model->setMapTheme( mapTheme, d->m_viewParams.projection() );
 
-        d->doResize();
-
         centerSun();
     }
 


More information about the Marble-commits mailing list