Only show DownloadItemsSheet if there's more than one download item
ClosedPublic

Authored by leinir on Wed, Nov 6, 10:25 AM.

Details

Summary

This was caused by using the downloadCount (which is the total number of times the item has been downloaded), rather than the length of the list of download items.

BUG:413437

Test Plan

With patch: Shows "Install..." for all items (with other than one user download)
Without patch: Shows "Install..." only for items with more than one download item

Diff Detail

Repository
R304 KNewStuff
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
leinir created this revision.Wed, Nov 6, 10:25 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptWed, Nov 6, 10:25 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
leinir requested review of this revision.Wed, Nov 6, 10:25 AM
leinir edited the summary of this revision. (Show Details)Wed, Nov 6, 11:12 AM
leinir added reviewers: KNewStuff, Frameworks, ngraham.
ngraham accepted this revision.Thu, Nov 7, 1:01 AM
This revision is now accepted and ready to land.Thu, Nov 7, 1:01 AM
This revision was automatically updated to reflect the committed changes.