Added PlaylistChooser to PlaylistView's contextmenu
This commit is contained in:
parent
220c124447
commit
a5e35d986e
1 changed files with 5 additions and 0 deletions
|
@ -200,11 +200,16 @@ PlaylistView::contextMenuEvent (QContextMenuEvent *e)
|
|||
|
||||
qm.addSeparator ();
|
||||
|
||||
a= new QAction (tr ("Change Playlist"), this);
|
||||
connect (a, SIGNAL (triggered ()), qobject_cast<PlaylistWidget *>(parent ()), SLOT (openPlaylistChooser ()));
|
||||
qm.addAction (a);
|
||||
|
||||
a = new QAction (tr ("Medialib browser"), this);
|
||||
// connect (a, SIGNAL (triggered ()), this, SLOT (showMlib ()));
|
||||
a->setEnabled(false); //FIXME: Disabled for now
|
||||
qm.addAction (a);
|
||||
|
||||
|
||||
e->accept ();
|
||||
qm.exec (e->globalPos ());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue