summaryrefslogtreecommitdiffstats
path: root/tdenewstuff/provider.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-22 00:02:37 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-22 00:02:37 -0500
commitd2be9f66f9f0767685a6999c4a8f91fd27ce0611 (patch)
treec4fa6e8e1236b1f087b485be8d20f62d5eebbeec /tdenewstuff/provider.cpp
parentf6d69d45cf25180a8285b2dd5c146a0481fd09ce (diff)
downloadtdelibs-d2be9f66f9f0767685a6999c4a8f91fd27ce0611.tar.gz
tdelibs-d2be9f66f9f0767685a6999c4a8f91fd27ce0611.zip
Add initial load screen to TDENewStuff
Fix remaining issues with OCS data sources This resolves Bug 2093
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();