]> git.sesse.net Git - kdenlive/blobdiff - src/projectlist.h
Cleanup document loading and make sure to read all thumbs from disk cache on opening
[kdenlive] / src / projectlist.h
index 98b1a8ae8fa6788c2256e1cfa30d4640cdbbae28..2bc2f950a962f411956744f1b12c894f325207ad 100644 (file)
@@ -240,7 +240,6 @@ public:
     void clearSelection();
 
 public slots:
-    void slotClipSelected();
     void setDocument(KdenliveDoc *doc);
     void updateAllClips(bool displayRatioChanged, bool fpsChanged);
     void slotReplyGetImage(const QString &clipId, const QImage &img);
@@ -295,6 +294,8 @@ private:
     ItemDelegate *m_listViewDelegate;
     /** @brief False if we have not yet finished opening the document. */
     bool m_refreshed;
+    /** @brief False if we have not yet finished checking all project tree thumbs. */
+    bool m_allClipsProcessed;
     QToolButton *m_addButton;
     QToolButton *m_deleteButton;
     QToolButton *m_editButton;
@@ -348,6 +349,7 @@ private:
     void resetThumbsProducer(DocClipBase *clip);
 
 private slots:
+    void slotClipSelected();
     void slotAddSlideshowClip();
     void slotAddTitleClip();
     void slotAddTitleTemplateClip();