move reinitCascading to setNumberOfDesktops because it updates an internal list that is trusted to be of (at least) desktopCount_ size
author Thomas Lübking
()
committer Thomas Lübking
()
commit 0910f10fbdc0e3a5165011055be35a91836b8d29
tree 415f419c2e1d72568e6f3074b478472cc9b0212b
parent b6081d623550aa2d1145d3b3b5ceafbc119e12eb
move reinitCascading to setNumberOfDesktops because it updates an internal list that is trusted to be of (at least) desktopCount_ size

hand backport of b94ccd516710f8b6a951bbac969e1627f466a6cb

BUG: 174118
FIXED-IN: 4.8.4
REVIEW: 105063
kwin/workspace.cpp