Changeset View
Changeset View
Standalone View
Standalone View
effects/sheet/sheet.cpp
Context not available. | |||||
134 | info->timeLine = new QTimeLine(duration); | 134 | info->timeLine = new QTimeLine(duration); | ||
---|---|---|---|---|---|
135 | const EffectWindowList stack = effects->stackingOrder(); | 135 | const EffectWindowList stack = effects->stackingOrder(); | ||
136 | // find parent | 136 | // find parent | ||
137 | foreach (EffectWindow * window, stack) { | 137 | for (EffectWindow * window : stack) { | ||
138 | if (window->findModal() == w) { | 138 | if (window->findModal() == w) { | ||
139 | info->parentY = window->y(); | 139 | info->parentY = window->y(); | ||
140 | break; | 140 | break; | ||
Context not available. | |||||
162 | bool found = false; | 162 | bool found = false; | ||
163 | // find parent | 163 | // find parent | ||
164 | const EffectWindowList stack = effects->stackingOrder(); | 164 | const EffectWindowList stack = effects->stackingOrder(); | ||
165 | foreach (EffectWindow * window, stack) { | 165 | for (EffectWindow * window : stack) { | ||
166 | if (window->findModal() == w) { | 166 | if (window->findModal() == w) { | ||
167 | info->parentY = window->y(); | 167 | info->parentY = window->y(); | ||
168 | found = true; | 168 | found = true; | ||
Context not available. |