[Marble-commits] KDE/kdeedu/marble/src/lib
Bernhard Beschow
bbeschow at cs.tu-berlin.de
Wed Jul 21 22:36:16 CEST 2010
SVN commit 1152722 by beschow:
dead code--
M +1 -1 StackedTileLoader.cpp
M +1 -3 TileLoader.cpp
M +1 -2 TileLoader.h
--- trunk/KDE/kdeedu/marble/src/lib/StackedTileLoader.cpp #1152721:1152722
@@ -102,7 +102,7 @@
connect( d->m_mapThemeManager, SIGNAL( themesChanged() ),
this, SLOT( updateTextureLayers() ) );
setTextureLayerSettings( textureLayerSettings );
- d->m_tileLoader = new TileLoader( mapThemeManager, downloadManager );
+ d->m_tileLoader = new TileLoader( downloadManager );
updateTextureLayers();
connect( d->m_tileLoader, SIGNAL( tileCompleted( TileId, TileId )),
SLOT( updateTile( TileId, TileId )));
--- trunk/KDE/kdeedu/marble/src/lib/TileLoader.cpp #1152721:1152722
@@ -29,10 +29,8 @@
namespace Marble
{
-TileLoader::TileLoader( MapThemeManager const * const mapThemeManager,
- HttpDownloadManager * const downloadManager )
+TileLoader::TileLoader( HttpDownloadManager * const downloadManager )
{
- Q_UNUSED(mapThemeManager);
connect( this, SIGNAL( downloadTile( QUrl, QString, QString, DownloadUsage )),
downloadManager, SLOT( addJob( QUrl, QString, QString, DownloadUsage )));
connect( downloadManager, SIGNAL( downloadComplete( QByteArray, QString )),
--- trunk/KDE/kdeedu/marble/src/lib/TileLoader.h #1152721:1152722
@@ -32,7 +32,6 @@
{
class HttpDownloadManager; // remove?
class GeoSceneTexture;
-class MapThemeManager;
class TextureTile;
class TileLoader: public QObject
@@ -40,7 +39,7 @@
Q_OBJECT
public:
- TileLoader( MapThemeManager const * const, HttpDownloadManager * const );
+ TileLoader( HttpDownloadManager * const );
QSharedPointer<TextureTile> loadTile( TileId const & stackedTileId, TileId const & tileId,
DownloadUsage const );
More information about the Marble-commits
mailing list