Clips in project list with subclips have no visual indicator that
they have subclips so expand them by default.

Better fix would be to add a clear visual indicator to clips with subclips,
for example clips in a folder already have this.
---
 src/subprojectitem.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/subprojectitem.cpp b/src/subprojectitem.cpp
index 9c8ad1e..d397804 100644
--- a/src/subprojectitem.cpp
+++ b/src/subprojectitem.cpp
@@ -40,6 +40,11 @@ SubProjectItem::SubProjectItem(QTreeWidgetItem * parent, int 
in, int out, QStrin
     setText(1, description);
     GenTime duration = GenTime(out - in, KdenliveSettings::project_fps());
     if (duration != GenTime()) setData(0, DurationRole, 
Timecode::getEasyTimecode(duration, KdenliveSettings::project_fps()));
+
+    // Expand and show all subclips by default instead of hiding them.
+    if (parent && !parent->isExpanded())
+        parent->setExpanded(true);
+
     //setFlags(Qt::NoItemFlags);
     //kDebug() << "Constructed with clipId: " << m_clipId;
 }
-- 
1.7.5.4


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Kdenlive-devel mailing list
Kdenlive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to