[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Tue Jan 19 19:47:36 CET 2010
SVN commit 1077229 by jmhoffmann:
Remove MarbleModel::setDownloadManager since it is not used anywhere in kde svn.
M +0 -12 MarbleModel.cpp
M +0 -10 MarbleModel.h
--- trunk/KDE/kdeedu/marble/src/lib/MarbleModel.cpp #1077228:1077229
@@ -528,18 +528,6 @@
return d->m_downloadManager;
}
-
-void MarbleModel::setDownloadManager( HttpDownloadManager *downloadManager )
-{
- HttpDownloadManager *previousDownloadManager = d->m_downloadManager;
-
- d->m_tileLoader->setDownloadManager( downloadManager );
- d->m_downloadManager = downloadManager;
-
- delete previousDownloadManager;
-}
-
-
void MarbleModelPrivate::resize( int width, int height )
{
if ( m_mapTheme->map()->hasTextureLayers() ) {
--- trunk/KDE/kdeedu/marble/src/lib/MarbleModel.h #1077228:1077229
@@ -195,16 +195,6 @@
HttpDownloadManager* downloadManager() const;
- /**
- * @brief Set the downloadmanager to load missing tiles
- * @param downloadManager the HttpDownloadManager instance
- *
- * This function sets the downloadmanager to load tiles that
- * are missing locally. The destruction of the instance
- * will be handled by MarbleModel.
- */
- void setDownloadManager( HttpDownloadManager *downloadManager );
-
void openGpxFile( const QString& filename );
void addPlacemarkFile( const QString& filename );
void addPlacemarkData( const QString& data, const QString& key = "data" );
More information about the Marble-commits
mailing list