]> git.sesse.net Git - kdenlive/blobdiff - src/docclipbase.h
* Fix crash when deleting clip and audio thumb was being created
[kdenlive] / src / docclipbase.h
index 896680f33aca73e9d0028b380cb674e4d6ce6a28..8e0f6ac452b792b6108786a0cd7625596126bb74 100644 (file)
@@ -83,6 +83,7 @@ Q_OBJECT public:
     /** Returns the internal unique id of the clip. */
     const QString &getId() const;
 
+    bool hasAudioThumb() const;
     //KThumb *thumbCreator;
     bool audioThumbCreated() const;
     /*void getClipMainThumb();*/
@@ -239,6 +240,9 @@ private:   // Private attributes
     /** Try to make sure we don't delete a producer while using it */
     QMutex m_producerMutex;
     QMutex m_replaceMutex;
+    
+    /** @brief This timer will trigger creation of audio thumbnails. */
+    QTimer m_audioTimer;
 
     /** Create connections for audio thumbnails */
     void slotRefreshProducer();