Changeset View
Changeset View
Standalone View
Standalone View
effects/coverswitch/coverswitch.cpp
Context not available. | |||||
146 | if (index >= tempList.count()) | 146 | if (index >= tempList.count()) | ||
---|---|---|---|---|---|
147 | index = index % tempList.count(); | 147 | index = index % tempList.count(); | ||
148 | } | 148 | } | ||
149 | foreach (Direction direction, scheduled_directions) { | 149 | for (Direction direction : qAsConst(scheduled_directions)) { | ||
150 | if (direction == Right) | 150 | if (direction == Right) | ||
151 | index++; | 151 | index++; | ||
152 | else | 152 | else | ||
Context not available. | |||||
291 | if (stop) { | 291 | if (stop) { | ||
292 | stop = false; | 292 | stop = false; | ||
293 | effects->setActiveFullScreenEffect(0); | 293 | effects->setActiveFullScreenEffect(0); | ||
294 | foreach (EffectWindow * window, referrencedWindows) { | 294 | for (EffectWindow * window : qAsConst(referrencedWindows)) { | ||
295 | window->unrefWindow(); | 295 | window->unrefWindow(); | ||
296 | } | 296 | } | ||
297 | referrencedWindows.clear(); | 297 | referrencedWindows.clear(); | ||
Context not available. |