diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-22 00:02:37 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-22 00:02:37 -0500 |
commit | d2be9f66f9f0767685a6999c4a8f91fd27ce0611 (patch) | |
tree | c4fa6e8e1236b1f087b485be8d20f62d5eebbeec /tdenewstuff/provider.cpp | |
parent | f6d69d45cf25180a8285b2dd5c146a0481fd09ce (diff) | |
download | tdelibs-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.cpp | 9 |
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(); |