| 1415 | } |
| 1416 | |
| 1417 | void |
| 1418 | GuiAppInstance::removeKeyFrameIndicator(SequenceTime time) |
| 1419 | { |
| 1420 | ///runs only in the main thread |
| 1421 | assert( QThread::currentThread() == qApp->thread() ); |
| 1422 | |
| 1423 | std::list<SequenceTime>::iterator it = std::find(_imp->timelineKeyframes.begin(), _imp->timelineKeyframes.end(), time); |
| 1424 | if ( it != _imp->timelineKeyframes.end() ) { |
| 1425 | _imp->timelineKeyframes.erase(it); |
| 1426 | Q_EMIT keyframeIndicatorsChanged(); |
| 1427 | } |
| 1428 | } |
| 1429 | |
| 1430 | void |
| 1431 | GuiAppInstance::removeMultipleKeyframeIndicator(const std::list<SequenceTime> & keys, |
no test coverage detected