| 1428 | } |
| 1429 | |
| 1430 | void |
| 1431 | GuiAppInstance::removeMultipleKeyframeIndicator(const std::list<SequenceTime> & keys, |
| 1432 | bool emitSignal) |
| 1433 | { |
| 1434 | ///runs only in the main thread |
| 1435 | assert( QThread::currentThread() == qApp->thread() ); |
| 1436 | |
| 1437 | for (std::list<SequenceTime>::const_iterator it = keys.begin(); it != keys.end(); ++it) { |
| 1438 | std::list<SequenceTime>::iterator it2 = std::find(_imp->timelineKeyframes.begin(), _imp->timelineKeyframes.end(), *it); |
| 1439 | if ( it2 != _imp->timelineKeyframes.end() ) { |
| 1440 | _imp->timelineKeyframes.erase(it2); |
| 1441 | } |
| 1442 | } |
| 1443 | if (!keys.empty() && emitSignal) { |
| 1444 | Q_EMIT keyframeIndicatorsChanged(); |
| 1445 | } |
| 1446 | } |
| 1447 | |
| 1448 | void |
| 1449 | GuiAppInstance::removeAllUserKeyframesIndicators() |
no test coverage detected