Fix regression in project notes from clip monitor(incorrect clazy fix)

parent 44ce7aea
Pipeline #30204 passed with stage
in 26 minutes and 28 seconds
...@@ -76,11 +76,11 @@ void NotesPlugin::slotInsertTimecode() ...@@ -76,11 +76,11 @@ void NotesPlugin::slotInsertTimecode()
return; return;
} }
QString clipName = pCore->bin()->getBinClipName(binId); QString clipName = pCore->bin()->getBinClipName(binId);
m_widget->insertHtml(QString("<a href=\"%1#%2\">%3:%4</a> ").arg(binId, frames).arg(clipName, position)); m_widget->insertHtml(QString("<a href=\"%1#%2\">%3:%4</a> ").arg(binId, QString::number(frames)).arg(clipName, position));
} else { } else {
int frames = pCore->monitorManager()->projectMonitor()->position(); int frames = pCore->monitorManager()->projectMonitor()->position();
QString position = pCore->timecode().getTimecodeFromFrames(frames); QString position = pCore->timecode().getTimecodeFromFrames(frames);
m_widget->insertHtml(QString("<a href=\"%1\">%2</a> ").arg(frames).arg(position)); m_widget->insertHtml(QString("<a href=\"%1\">%2</a> ").arg(QString::number(frames), position));
} }
} }
......
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