Fix tests

parent 81675588
Pipeline #4712 passed with stage
in 13 minutes and 30 seconds
......@@ -755,6 +755,9 @@ QString Core::getTimelineClipBinId(int cid)
int Core::getDurationFromString(const QString &time)
{
if (!m_guiConstructed) {
return 0;
}
const QString duration = currentDoc()->timecode().reformatSeparators(time);
return currentDoc()->timecode().getFrameCount(duration);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment