]> git.sesse.net Git - vlc/commitdiff
Bookmarks: close #1661
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 21 Aug 2008 21:18:31 +0000 (14:18 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 21 Aug 2008 21:19:09 +0000 (14:19 -0700)
modules/gui/qt4/dialogs/bookmarks.cpp

index 68f0fa4ff07097b2aff83bef16e3773cdfe8b96c..5333783a850399f15b9dabfc31fa6c7f433230c0 100644 (file)
@@ -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;