X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcustomtrackscene.cpp;h=cf5dffde29a28ccc04f7ac2877e6bb3e8dfe755b;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=44e1a9bffd6aa0c4bef5dd69157ee7e21e06dc86;hpb=af0cdc3a2441996bb29f9c2d8b4ce0dd87a6fcb0;p=kdenlive diff --git a/src/customtrackscene.cpp b/src/customtrackscene.cpp index 44e1a9bf..cf5dffde 100644 --- a/src/customtrackscene.cpp +++ b/src/customtrackscene.cpp @@ -44,7 +44,8 @@ double CustomTrackScene::getSnapPointForPos(double pos, bool doSnap) if (qAbs((int)(pos - m_snapPoints.at(i).frames(m_document->fps()))) < maximumOffset) { return m_snapPoints.at(i).frames(m_document->fps()); } - if (m_snapPoints.at(i).frames(m_document->fps()) > pos) break; + if (m_snapPoints.at(i).frames(m_document->fps()) > pos) + break; } } return GenTime(pos, m_document->fps()).frames(m_document->fps());