Commit 55b36061 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Open: solve a bug in a signal.

parent cf10ebe4
...@@ -98,7 +98,7 @@ OpenDialog::OpenDialog( QWidget *parent, intf_thread_t *_p_intf, bool modal, ...@@ -98,7 +98,7 @@ OpenDialog::OpenDialog( QWidget *parent, intf_thread_t *_p_intf, bool modal,
QKeySequence( "Alt+P" ) ); QKeySequence( "Alt+P" ) );
openButtonMenu->addAction( qtr("&Stream"), this, SLOT( stream() ) , openButtonMenu->addAction( qtr("&Stream"), this, SLOT( stream() ) ,
QKeySequence( "Alt+S" ) ); QKeySequence( "Alt+S" ) );
openButtonMenu->addAction( qtr("&Convert"), this, SLOT( transcode( ) ) , openButtonMenu->addAction( qtr("&Convert"), this, SLOT( transcode() ) ,
QKeySequence( "Alt+C" ) ); QKeySequence( "Alt+C" ) );
playButton->setMenu( openButtonMenu ); playButton->setMenu( openButtonMenu );
...@@ -160,7 +160,7 @@ void OpenDialog::setMenuAction() ...@@ -160,7 +160,7 @@ void OpenDialog::setMenuAction()
break; break;
case OPEN_AND_SAVE: case OPEN_AND_SAVE:
playButton->setText( qtr("&Convert / Save") ); playButton->setText( qtr("&Convert / Save") );
BUTTONACT( playButton, stream( true ) ); BUTTONACT( playButton, transcode() );
break; break;
case ENQUEUE: case ENQUEUE:
playButton->setText( qtr("&Enqueue") ); playButton->setText( qtr("&Enqueue") );
......
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