]> git.sesse.net Git - vlc/commitdiff
Qt: reposition the separator in the playlist popup menu
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 20 Oct 2011 17:10:40 +0000 (19:10 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 21 Oct 2011 13:26:00 +0000 (15:26 +0200)
modules/gui/qt4/components/playlist/playlist_model.cpp

index 8f5da1847e55040f8cb488d10fa31d28dc263f61..c40ea4dff8a61a26ea00c875fd9c8d31388645b7 100644 (file)
@@ -956,9 +956,9 @@ bool PLModel::popup( const QModelIndex & index, const QPoint &point, const QMode
             menu.addAction( qtr( "Add to playlist"), this, SLOT( popupAddToPlaylist() ) );
         menu.addAction( QIcon( ":/buttons/playlist/playlist_remove" ),
                         qtr(I_POP_DEL), this, SLOT( popupDel() ) );
-        menu.addSeparator();
     }
 
+    menu.addSeparator();
     /* Playlist sorting */
     if( !sortingMenu )
     {