Fix clip markers behavior broken on project opening

BUG: 382403
parent 92698a36
......@@ -529,7 +529,9 @@ QList< CommentedTime > ClipController::commentedSnapMarkers() const
void ClipController::loadSnapMarker(const QString &seconds, const QString &hash)
QLocale locale;
GenTime markerTime(locale.toDouble(seconds));
// Make sure to get an integer frame since markers are stored in seconds
int frame = GenTime(locale.toDouble(seconds)).frames(m_binController->fps());
GenTime markerTime(frame, m_binController->fps());
CommentedTime marker(hash, markerTime);
if (m_snapMarkers.contains(marker)) {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment