Added PlaylistChooser to PlaylistView's contextmenu

This commit is contained in:
Thomas Frauendorfer 2008-03-22 00:54:36 +01:00
parent 220c124447
commit a5e35d986e

View file

@ -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 ());
}