]> git.sesse.net Git - kdenlive/commitdiff
Small cleanup + comment
authorTill Theato <root@ttill.de>
Sun, 12 Dec 2010 18:06:54 +0000 (18:06 +0000)
committerTill Theato <root@ttill.de>
Sun, 12 Dec 2010 18:06:54 +0000 (18:06 +0000)
svn path=/trunk/kdenlive/; revision=5168

src/kdenlivedoc.cpp
src/kdenlivedoc.h

index 119c352051ee639c93825ec7e67c91fb16a60d50..861fc28fda179ff2c6125718f09b0590246fb5f5 100644 (file)
@@ -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);
     }
 }
index 7139dd9951e93a911fcd837c0cff53d1dd65c800..ad9b7a82e44778ad5a12528a735212c4b917bb53 100644 (file)
@@ -119,7 +119,10 @@ Q_OBJECT public:
     void deleteTrack(int ix);
     void setTrackType(int ix, TrackInfo type);
     const QList <TrackInfo> 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);