mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
Qt: reorganize playlist actions, rename "Delete" to "Remove Selected"
This commit is contained in:
parent
bb168adf4d
commit
47fba51d8b
@ -64,7 +64,7 @@
|
||||
/* Playlist popup */
|
||||
#define I_POP_PLAY N_("Play")
|
||||
#define I_POP_PREPARSE N_("Fetch Information")
|
||||
#define I_POP_DEL N_("Delete")
|
||||
#define I_POP_DEL N_("Remove Selected")
|
||||
#define I_POP_INFO N_("Information...")
|
||||
#define I_POP_SORT N_("Sort")
|
||||
#define I_POP_NEWFOLDER I_DIR_OR_FOLDER( N_("Create Directory..."), \
|
||||
|
@ -921,16 +921,13 @@ bool PLModel::popup( const QModelIndex & index, const QPoint &point, const QMode
|
||||
if( i_popup_item > -1 )
|
||||
{
|
||||
menu.addAction( QIcon( ":/menu/play" ), qtr(I_POP_PLAY), this, SLOT( popupPlay() ) );
|
||||
menu.addAction( QIcon( ":/buttons/playlist/playlist_remove" ),
|
||||
qtr(I_POP_DEL), this, SLOT( popupDel() ) );
|
||||
menu.addSeparator();
|
||||
menu.addAction( QIcon( ":/menu/stream" ),
|
||||
qtr(I_POP_STREAM), this, SLOT( popupStream() ) );
|
||||
menu.addAction( qtr(I_POP_SAVE), this, SLOT( popupSave() ) );
|
||||
menu.addSeparator();
|
||||
menu.addAction( QIcon( ":/menu/info" ), qtr(I_POP_INFO), this, SLOT( popupInfo() ) );
|
||||
menu.addAction( QIcon( ":/type/folder-grey" ),
|
||||
qtr( I_POP_EXPLORE ), this, SLOT( popupExplore() ) );
|
||||
menu.addSeparator();
|
||||
}
|
||||
if( canEdit() )
|
||||
{
|
||||
@ -953,6 +950,8 @@ bool PLModel::popup( const QModelIndex & index, const QPoint &point, const QMode
|
||||
}
|
||||
if( i_popup_item > -1 )
|
||||
{
|
||||
menu.addAction( QIcon( ":/buttons/playlist/playlist_remove" ),
|
||||
qtr(I_POP_DEL), this, SLOT( popupDel() ) );
|
||||
menu.addSeparator();
|
||||
if( !sortingMenu )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user