[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Tue Jan 12 02:54:13 CET 2010
SVN commit 1073361 by jmhoffmann:
Add missing DownloadUsage parameter and make "refresh map" work again.
M +3 -3 MarbleModel.cpp
M +1 -1 MarbleModel.h
--- trunk/KDE/kdeedu/marble/src/lib/MarbleModel.cpp #1073360:1073361
@@ -152,8 +152,8 @@
QTime t;
t.start();
MarbleModelPrivate::refCounter.ref();
- connect( this, SIGNAL( downloadTile( QUrl, QString, QString )),
- d->m_downloadManager, SLOT( addJob( QUrl, QString, QString )));
+ connect( this, SIGNAL( downloadTile( QUrl, QString, QString, DownloadUsage )),
+ d->m_downloadManager, SLOT( addJob( QUrl, QString, QString, DownloadUsage )));
d->m_dataFacade = new MarbleDataFacade( this );
d->m_tileLoader = new TileLoader( d->m_downloadManager, this );
@@ -913,7 +913,7 @@
QUrl sourceUrl = TileLoaderHelper::downloadUrl( texture, id.zoomLevel(), id.x(), id.y() );
QString destFileName = TileLoaderHelper::relativeTileFileName( texture, id.zoomLevel(),
id.x(), id.y() );
- emit downloadTile( sourceUrl, destFileName, id.toString() );
+ emit downloadTile( sourceUrl, destFileName, id.toString(), DownloadBrowse );
}
}
--- trunk/KDE/kdeedu/marble/src/lib/MarbleModel.h #1073360:1073361
@@ -365,7 +365,7 @@
void repaintNeeded( QRegion dirtyRegion = QRegion() );
void downloadTile( const QUrl& sourceUrl, const QString& destinationFileName,
- const QString& id ) const;
+ const QString& id, DownloadUsage ) const;
/**
* @brief Signal that a render item has been initialized
More information about the Marble-commits
mailing list