Changeset View
Changeset View
Standalone View
Standalone View
effects/fallapart/fallapart.cpp
Context not available. | |||||
75 | if (windows.contains(w) && isRealWindow(w)) { | 75 | if (windows.contains(w) && isRealWindow(w)) { | ||
---|---|---|---|---|---|
76 | WindowQuadList new_quads; | 76 | WindowQuadList new_quads; | ||
77 | int cnt = 0; | 77 | int cnt = 0; | ||
78 | foreach (WindowQuad quad, data.quads) { // krazy:exclude=foreach | 78 | for (WindowQuad quad : qAsConst(data.quads)) { | ||
79 | // make fragments move in various directions, based on where | 79 | // make fragments move in various directions, based on where | ||
80 | // they are (left pieces generally move to the left, etc.) | 80 | // they are (left pieces generally move to the left, etc.) | ||
81 | QPointF p1(quad[ 0 ].x(), quad[ 0 ].y()); | 81 | QPointF p1(quad[ 0 ].x(), quad[ 0 ].y()); | ||
Context not available. |