[vlc-devel] commit: Bookmarks: close #1661 (Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Aug 21 23:17:35 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 21 14:18:31 2008 -0700| [d06c11b5740a657eba8dd3bac9382ffa5b9bb848] | committer: Jean-Baptiste Kempf 

Bookmarks: close #1661

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d06c11b5740a657eba8dd3bac9382ffa5b9bb848
---

 modules/gui/qt4/dialogs/bookmarks.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs/bookmarks.cpp b/modules/gui/qt4/dialogs/bookmarks.cpp
index 68f0fa4..5333783 100644
--- a/modules/gui/qt4/dialogs/bookmarks.cpp
+++ b/modules/gui/qt4/dialogs/bookmarks.cpp
@@ -141,7 +141,8 @@ void BookmarksDialog::add()
 
     seekpoint_t bookmark;
     vlc_value_t pos;
-    bookmark.psz_name = NULL;
+    bookmark.psz_name = qtu( THEMIM->getIM()->getName() +
+                    QString("_%1" ).arg( bookmarksList->topLevelItemCount() ) );
     bookmark.i_byte_offset = 0;
     bookmark.i_time_offset = 0;
 




More information about the vlc-devel mailing list