[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Tue Jan 19 19:47:41 CET 2010
SVN commit 1077230 by jmhoffmann:
Remove unused method HttpDownloadManager::setJobQueueLimit and corresponding data member.
M +0 -7 HttpDownloadManager.cpp
M +0 -5 HttpDownloadManager.h
--- trunk/KDE/kdeedu/marble/src/lib/HttpDownloadManager.cpp #1077229:1077230
@@ -48,7 +48,6 @@
* - a queue for retries of failed downloads */
QList<QPair<DownloadPolicyKey, DownloadQueueSet *> > m_queueSets;
QMap<DownloadUsage, DownloadQueueSet *> m_defaultQueueSets;
- int m_jobQueueLimit;
StoragePolicy *m_storagePolicy;
NetworkPlugin *m_networkPlugin;
@@ -57,7 +56,6 @@
HttpDownloadManager::Private::Private( StoragePolicy *policy )
: m_downloadEnabled( true ), //enabled for now
m_requeueTimer( 0 ),
- m_jobQueueLimit( 1000 ),
m_storagePolicy( policy ),
m_networkPlugin( 0 )
{
@@ -137,11 +135,6 @@
delete d;
}
-void HttpDownloadManager::setJobQueueLimit( int jobQueueLimit )
-{
- d->m_jobQueueLimit = jobQueueLimit;
-}
-
// FIXME: remove this method
void HttpDownloadManager::setActivatedJobsLimit( int activatedJobsLimit )
{
--- trunk/KDE/kdeedu/marble/src/lib/HttpDownloadManager.h #1077229:1077230
@@ -61,11 +61,6 @@
virtual ~HttpDownloadManager();
/**
- * Sets the limit of jobs to be queued.
- */
- void setJobQueueLimit( int jobQueueLimit );
-
- /**
* Sets the limit of active jobs.
*/
void setActivatedJobsLimit( int activatedJobsLimit );
More information about the Marble-commits
mailing list