[Marble-commits] KDE/kdeedu/marble/src
Torsten Rahn
tackat at kde.org
Fri Aug 20 12:16:37 CEST 2010
SVN commit 1165875 by rahn:
- Fix Qt Marble Version to match new API introduced by Bernhard Beschow.
M +3 -1 QtMainWindow.cpp
--- trunk/KDE/kdeedu/marble/src/QtMainWindow.cpp #1165874:1165875
@@ -98,6 +98,8 @@
m_controlView->marbleWidget(), SLOT( clearVolatileTileCache() ) );
connect( m_configDialog, SIGNAL( clearPersistentCacheClicked() ),
m_controlView->marbleWidget(), SLOT( clearPersistentTileCache() ) );
+ connect( m_controlView->marbleWidget(), SIGNAL( regionSelected( GeoDataLatLonBox ) ),
+ m_controlView->marbleWidget(), SLOT( centerOn( GeoDataLatLonBox ) ) );
//Load Bookmark File, First time read from system path then once bookmark is used
//a copy of bookmarks.kml will be created in local path
@@ -1059,7 +1061,7 @@
m_downloadRegionDialog->setAllowedTileLevelRange( 0, 18 );
m_downloadRegionDialog->setSelectionMethod( DownloadRegionDialog::VisibleRegionMethod );
ViewportParams const * const viewport =
- m_controlView->marbleWidget()->map()->viewParams()->viewport();
+ m_controlView->marbleWidget()->map()->viewport();
m_downloadRegionDialog->setSpecifiedLatLonAltBox( viewport->viewLatLonAltBox() );
m_downloadRegionDialog->setVisibleLatLonAltBox( viewport->viewLatLonAltBox() );
More information about the Marble-commits
mailing list