Commit 15249253 authored by Christophe Mutricy's avatar Christophe Mutricy

QT4: implement the open dialog from the playlist

parent a2d20f55
......@@ -148,6 +148,10 @@ void OpenDialog::setMenuAction()
playButton->setText( qtr("&Convert / Save") );
BUTTONACT( playButton, stream( true ) );
break;
case ENQUEUE:
playButton->setText( qtr("&Enqueue") );
BUTTONACT( playButton, enqueue() );
break;
case OPEN_AND_PLAY:
default:
playButton->setText( qtr("&Play") );
......
......@@ -216,6 +216,9 @@ void DialogsProvider::openDialog( int i_tab )
void DialogsProvider::PLAppendDialog()
{
OpenDialog::getInstance( p_intf->p_sys->p_mi , p_intf, ENQUEUE )
->showTab(0);
}
void DialogsProvider::MLAppendDialog()
{
......
......@@ -78,6 +78,7 @@
#define OPEN_AND_PLAY 0x0
#define OPEN_AND_STREAM 0x1
#define OPEN_AND_SAVE 0x2
#define ENQUEUE 0x4
class QEvent;
class QSignalMapper;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment