if (qAbs((int)(pos - m_snapPoints.at(i).frames(m_document->fps()))) < maximumOffset) {
return m_snapPoints.at(i).frames(m_document->fps());
}
if (qAbs((int)(pos - m_snapPoints.at(i).frames(m_document->fps()))) < maximumOffset) {
return m_snapPoints.at(i).frames(m_document->fps());
}