hein added a comment.
I wasn't sure (and admittedly didn't check) whether the source model does a reset causing the index to revert to 0. I kinda assumed that's why whoever wrote this added restore. If that's not the case yeah I'll just nix it. This code could use a lot of cleanup, much of it seems writte hurriedly. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D5440 To: hein, #plasma, mart Cc: davidedmundson, plasma-devel, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol