Skip to content

containments/desktop: Execute updatePositionsList only if we know how many icons per stripe

Marco Martin requested to merge work/cherry-pick-239ffd70 into Plasma/6.3

updatePositionsList() is not always guaranteed to be called after setPerStripe has been called. setPerStripe is called by rowsInserted and setPerStripe by the QML ui so if the model is ready before the ui we'll have a divide by zero

BUG:498411

(cherry picked from commit 239ffd70)

239ffd70 containments/desktop: Execute updatePositionsList only if we know how many icons per stripe

Co-authored-by: Marco Martin notmart@gmail.com

Merge request reports

Loading