]> git.sesse.net Git - kdenlive/blobdiff - src/clipmanager.h
Use separate counters for Clips and Folders:
[kdenlive] / src / clipmanager.h
index 3b42db0c2ce676d26dd3c514f797f6a2e5bf3be1..d84a5bc58101b16004f598cfbccc0792bbff66b5 100644 (file)
@@ -64,6 +64,7 @@ Q_OBJECT public:
     void checkAudioThumbs();
     QList <DocClipBase*> documentClipList();
     int getFreeClipId();
+    int getFreeFolderId();
     int lastClipId() const;
     void startAudioThumbsGeneration();
     void endAudioThumbsGeneration(const QString &requestedId);
@@ -81,6 +82,7 @@ private:   // Private attributes
     /** the document undo stack*/
     KdenliveDoc *m_doc;
     int m_clipIdCounter;
+    int m_folderIdCounter;
     bool m_audioThumbsEnabled;
     QString m_generatingAudioId;