[Marble-commits] KDE/kdeedu/marble/src
Jens-Michael Hoffmann
jensmh at gmx.de
Thu May 13 12:01:15 CEST 2010
SVN commit 1126209 by jmhoffmann:
MarblePart::showZoomLevel: Remove unused parameter.
M +2 -3 marble_part.cpp
M +1 -1 marble_part.h
--- trunk/KDE/kdeedu/marble/src/marble_part.cpp #1126208:1126209
@@ -804,9 +804,8 @@
updateStatusBar();
}
-void MarblePart::showZoomLevel( int zoomLevel )
+void MarblePart::showZoomLevel()
{
- Q_UNUSED( zoomLevel );
updateTileZoomLevel();
updateStatusBar();
}
@@ -884,7 +883,7 @@
connect( m_controlView->marbleWidget(), SIGNAL( distanceChanged( QString ) ),
this, SLOT( showDistance( QString ) ) );
connect( m_controlView->marbleWidget(), SIGNAL( zoomChanged( int ) ),
- this, SLOT( showZoomLevel( int ) ) );
+ this, SLOT( showZoomLevel() ) );
connect( m_controlView->marbleWidget()->model(), SIGNAL( themeChanged( QString )),
this, SLOT( mapThemeChanged( QString )), Qt::QueuedConnection );
--- trunk/KDE/kdeedu/marble/src/marble_part.h #1126208:1126209
@@ -57,7 +57,7 @@
bool openFile();
void showPosition( const QString& position);
void showDistance( const QString& position);
- void showZoomLevel( int zoomLevel );
+ void showZoomLevel();
void mapThemeChanged( const QString& newMapTheme );
void createPluginMenus();
More information about the Marble-commits
mailing list