From: Till Theato Date: Sun, 12 Dec 2010 18:06:54 +0000 (+0000) Subject: Small cleanup + comment X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a0ea9695750c8309cc81fe9a9fd2e2549d20e1a0;p=kdenlive Small cleanup + comment svn path=/trunk/kdenlive/; revision=5168 --- diff --git a/src/kdenlivedoc.cpp b/src/kdenlivedoc.cpp index 119c3520..861fc28f 100644 --- a/src/kdenlivedoc.cpp +++ b/src/kdenlivedoc.cpp @@ -1493,9 +1493,9 @@ void KdenliveDoc::updateProjectFolderPlacesEntry() // if entry does not exist yet (was not found), well, create it then if (!exists) { - KBookmark newBookmark = root.addBookmark(i18n("Project Folder"), documentLocation, "folder-favorites"); + bookmark = root.addBookmark(i18n("Project Folder"), documentLocation, "folder-favorites"); // Make this user selectable ? - newBookmark.setMetaDataItem("OnlyInApp", kdenliveName); + bookmark.setMetaDataItem("OnlyInApp", kdenliveName); bookmarkManager->emitChanged(root); } } diff --git a/src/kdenlivedoc.h b/src/kdenlivedoc.h index 7139dd99..ad9b7a82 100644 --- a/src/kdenlivedoc.h +++ b/src/kdenlivedoc.h @@ -119,7 +119,10 @@ Q_OBJECT public: void deleteTrack(int ix); void setTrackType(int ix, TrackInfo type); const QList tracksList() const; + + /** @brief Gets the number of audio and video tracks and returns them as a QPoint with x = video, y = audio. */ QPoint getTracksCount() const; + void switchTrackVideo(int ix, bool hide); void switchTrackAudio(int ix, bool hide); void switchTrackLock(int ix, bool lock);