alexde updated this revision to Diff 66344. alexde added a comment.
The next loop starts with index+1. This rare case with index out of bounds should not happen, but just in case ... REPOSITORY R102 KInfoCenter CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D24036?vs=66343&id=66344 BRANCH ymax_again (branched from master) REVISION DETAIL https://phabricator.kde.org/D24036 AFFECTED FILES Modules/energy/package/contents/ui/Graph.qml Modules/energy/package/contents/ui/main.qml To: alexde, #vdg, ngraham Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart