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

Jens-Michael Hoffmann jensmh at gmx.de
Thu May 13 06:56:02 CEST 2010


SVN commit 1126062 by jmhoffmann:

DownloadRegionDialog: Remove unused member variables.

 M  +0 -6      DownloadRegionDialog.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/DownloadRegionDialog.cpp #1126061:1126062
@@ -63,8 +63,6 @@
     QPushButton * m_okButton;
     QPushButton * m_applyButton;
     int m_originatingTileLevel;
-    int m_minimumAllowedTileLevel;
-    int m_maximumAllowedTileLevel;
     MarbleModel const * const m_model;
     GeoSceneTexture const * m_textureLayer;
     SelectionMethod m_selectionMethod;
@@ -83,8 +81,6 @@
       m_okButton( 0 ),
       m_applyButton( 0 ),
       m_originatingTileLevel( model->textureMapper()->tileZoomLevel() ),
-      m_minimumAllowedTileLevel( -1 ),
-      m_maximumAllowedTileLevel( -1 ),
       m_model( model ),
       m_textureLayer( model->textureMapper()->textureLayer() ),
       m_selectionMethod( VisibleRegionMethod ),
@@ -204,8 +200,6 @@
 void DownloadRegionDialog::setAllowedTileLevelRange( int const minimumTileLevel,
                                                      int const maximumTileLevel )
 {
-    d->m_minimumAllowedTileLevel = minimumTileLevel;
-    d->m_maximumAllowedTileLevel = maximumTileLevel;
     d->m_tileLevelRangeWidget->setAllowedLevelRange( minimumTileLevel, maximumTileLevel );
 }
 


More information about the Marble-commits mailing list