Commit 32919a82 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle

Sort subclips in chronological order when sorting by date.

Fixes #537
parent 70720756
Pipeline #13755 passed with stage
in 14 minutes and 32 seconds
...@@ -47,6 +47,7 @@ ProjectSubClip::ProjectSubClip(const QString &id, const std::shared_ptr<ProjectC ...@@ -47,6 +47,7 @@ ProjectSubClip::ProjectSubClip(const QString &id, const std::shared_ptr<ProjectC
m_duration = timecode; m_duration = timecode;
m_parentDuration = (int)m_masterClip->frameDuration(); m_parentDuration = (int)m_masterClip->frameDuration();
m_parentClipId = m_masterClip->clipId(); m_parentClipId = m_masterClip->clipId();
m_date = parent->date.addSecs(in);
QPixmap pix(64, 36); QPixmap pix(64, 36);
pix.fill(Qt::lightGray); pix.fill(Qt::lightGray);
m_thumbnail = QIcon(pix); m_thumbnail = QIcon(pix);
......
  • Didn't expect this to be addressed so quickly. Works perfectly, thank you very much!

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