[Marble-commits] KDE/kdeedu/marble/src/lib
Bernhard Beschow
bbeschow at cs.tu-berlin.de
Sat Nov 13 14:59:30 CET 2010
SVN commit 1196447 by beschow:
cleanup MarbleMap::setShowAtmosphere()
* no need to call doResize() to update the view because this is handled in MarbleWidget
M +0 -7 MarbleMap.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleMap.cpp #1196446:1196447
@@ -767,15 +767,8 @@
void MarbleMap::setShowAtmosphere( bool visible )
{
- bool previousVisible = showAtmosphere();
-
- if ( visible != previousVisible ) {
d->m_viewParams.setShowAtmosphere( visible );
-
- // Quick and dirty way to force a whole update of the view
- d->doResize();
}
-}
void MarbleMap::setShowCrosshairs( bool visible )
{
More information about the Marble-commits
mailing list