| 6359 | } |
| 6360 | |
| 6361 | void |
| 6362 | KnobHolder::updateHasAnimation() |
| 6363 | { |
| 6364 | bool hasAnimation = false; |
| 6365 | { |
| 6366 | QMutexLocker l(&_imp->knobsMutex); |
| 6367 | |
| 6368 | for (KnobsVec::const_iterator it = _imp->knobs.begin(); it != _imp->knobs.end(); ++it) { |
| 6369 | if ( (*it)->hasAnimation() ) { |
| 6370 | hasAnimation = true; |
| 6371 | break; |
| 6372 | } |
| 6373 | } |
| 6374 | } |
| 6375 | QMutexLocker k(&_imp->hasAnimationMutex); |
| 6376 | |
| 6377 | _imp->hasAnimation = hasAnimation; |
| 6378 | } |
| 6379 | |
| 6380 | /***************************STRING ANIMATION******************************************/ |
| 6381 | void |
no test coverage detected