Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

void Geometryval::slotSyncPosition ( int  relTimelinePos) [slot]

Updates position of the local timeline to.

Parameters:
relTimelinePos.

Definition at line 427 of file geometryval.cpp.

References TimecodeDisplay::getValue(), and TimecodeDisplay::maximum().

{
    if (m_timePos.maximum() > 0 && KdenliveSettings::transitionfollowcursor()) {
        relTimelinePos = qMax(0, relTimelinePos);
        relTimelinePos = qMin(relTimelinePos, m_timePos.maximum());
        if (relTimelinePos != m_timePos.getValue())
            slotPositionChanged(relTimelinePos, false);
    }
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index