]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackscene.cpp
Const'ref
[kdenlive] / src / customtrackscene.cpp
index 44e1a9bffd6aa0c4bef5dd69157ee7e21e06dc86..cf5dffde29a28ccc04f7ac2877e6bb3e8dfe755b 100644 (file)
@@ -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());