| 1495 | } |
| 1496 | |
| 1497 | void |
| 1498 | GuiAppInstance::removeUserMultipleKeyframeIndicator(const std::list<SequenceTime> & keys, |
| 1499 | bool emitSignal) |
| 1500 | { |
| 1501 | ///runs only in the main thread |
| 1502 | assert( QThread::currentThread() == qApp->thread() ); |
| 1503 | |
| 1504 | for (std::list<SequenceTime>::const_iterator it = keys.begin(); it != keys.end(); ++it) { |
| 1505 | std::list<SequenceTime>::iterator it2 = std::find(_imp->timelineUserKeys.begin(), _imp->timelineUserKeys.end(), *it); |
| 1506 | if ( it2 != _imp->timelineUserKeys.end() ) { |
| 1507 | _imp->timelineUserKeys.erase(it2); |
| 1508 | } |
| 1509 | } |
| 1510 | if (!keys.empty() && emitSignal) { |
| 1511 | Q_EMIT keyframeIndicatorsChanged(); |
| 1512 | } |
| 1513 | } |
| 1514 | |
| 1515 | void |
| 1516 | GuiAppInstance::getUserKeyframes(std::list<SequenceTime>* keys) const |
no test coverage detected