Select correct index without timer
ClosedPublic

Authored by mart on Nov 28 2016, 5:09 PM.

Details

Summary

select the correct index upon loading when the count changes.
this removes the flicker at startup and the view is at the correct
wallpaper since the first frame. Also, now when a wallpaper is
downloaded with knewstuff, the old wallpaper stays selected,
it doesn't get resetted to the first wallpaper anymore

Test Plan

open wallpaer dialog, no more flicker
install a new wallpaper, the currently selected one stays selected

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mart updated this revision to Diff 8574.Nov 28 2016, 5:09 PM
mart retitled this revision from to Select correct index without timer.
mart updated this object.
mart edited the test plan for this revision. (Show Details)
Restricted Application added a project: Plasma. · View Herald TranscriptNov 28 2016, 5:09 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart added a reviewer: Plasma.Nov 28 2016, 5:10 PM
davidedmundson accepted this revision.Nov 29 2016, 1:42 PM
davidedmundson added a reviewer: davidedmundson.
This revision is now accepted and ready to land.Nov 29 2016, 1:42 PM
This revision was automatically updated to reflect the committed changes.