+void SubProjectItem::setZone(const QPoint& p)
+{
+ m_in = p.x();
+ m_out = p.y();
+ QString name = Timecode::getStringTimecode(m_in, KdenliveSettings::project_fps());
+ setText(0, name);
+ GenTime duration = GenTime(m_out - m_in, KdenliveSettings::project_fps());
+ if (duration != GenTime()) setData(0, DurationRole, Timecode::getEasyTimecode(duration, KdenliveSettings::project_fps()));
+}
+