summaryrefslogtreecommitdiffstats
path: root/tdenewstuff/provider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdenewstuff/provider.cpp')
-rw-r--r--tdenewstuff/provider.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/tdenewstuff/provider.cpp b/tdenewstuff/provider.cpp
index 4157c5025..5bf754598 100644
--- a/tdenewstuff/provider.cpp
+++ b/tdenewstuff/provider.cpp
@@ -313,15 +313,16 @@ void Provider::slotJobResult( TDEIO::Job *job )
desiredCategories = desiredCategoryList.join("x");
// int maxEntries = 10;
- int maxEntries = 50;
+ //int maxEntries = 50;
+ int maxEntries = 100;
setDownloadUrl( KURL( mBaseURL ) );
setUploadUrl( KURL( mBaseURL ) );
setNoUploadUrl( KURL( mBaseURL ) );
- d_prov(this)->mDownloadUrlLatest = KURL( mBaseURL + "content/data?categories=" + desiredCategories + "&search=&sortmode=new&page=1&pagesize=" + TQString("%1").arg(maxEntries) );
- d_prov(this)->mDownloadUrlScore = KURL( mBaseURL + "content/data?categories=" + desiredCategories + "&search=&sortmode=high&page=1&pagesize=" + TQString("%1").arg(maxEntries) );
- d_prov(this)->mDownloadUrlDownloads = KURL( mBaseURL + "content/data?categories=" + desiredCategories + "&search=&sortmode=down&page=1&pagesize=" + TQString("%1").arg(maxEntries) );
+ d_prov(this)->mDownloadUrlLatest = KURL( mBaseURL + "content/data?categories=" + desiredCategories + "&search=&sortmode=new&page=0&pagesize=" + TQString("%1").arg(maxEntries) );
+ d_prov(this)->mDownloadUrlScore = KURL( mBaseURL + "content/data?categories=" + desiredCategories + "&search=&sortmode=high&page=0&pagesize=" + TQString("%1").arg(maxEntries) );
+ d_prov(this)->mDownloadUrlDownloads = KURL( mBaseURL + "content/data?categories=" + desiredCategories + "&search=&sortmode=down&page=0&pagesize=" + TQString("%1").arg(maxEntries) );
mLoaded = true;
emit providerLoaded();