From a0ea9695750c8309cc81fe9a9fd2e2549d20e1a0 Mon Sep 17 00:00:00 2001 From: Till Theato Date: Sun, 12 Dec 2010 18:06:54 +0000 Subject: [PATCH] Small cleanup + comment svn path=/trunk/kdenlive/; revision=5168 --- src/kdenlivedoc.cpp | 4 ++-- src/kdenlivedoc.h | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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); -- 2.39.2