Commit c6eafbbb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Qt4 - DP: add INTF_DIALOG_DIRECTORY to the different cases.

parent 810ac704
...@@ -95,6 +95,8 @@ void DialogsProvider::customEvent( QEvent *event ) ...@@ -95,6 +95,8 @@ void DialogsProvider::customEvent( QEvent *event )
case INTF_DIALOG_SAT: case INTF_DIALOG_SAT:
case INTF_DIALOG_CAPTURE: case INTF_DIALOG_CAPTURE:
openCaptureDialog(); break; openCaptureDialog(); break;
case INTF_DIALOG_DIRECTORY:
PLAppendDir(); break;
case INTF_DIALOG_PLAYLIST: case INTF_DIALOG_PLAYLIST:
playlistDialog(); break; playlistDialog(); break;
case INTF_DIALOG_MESSAGES: case INTF_DIALOG_MESSAGES:
...@@ -121,6 +123,7 @@ void DialogsProvider::customEvent( QEvent *event ) ...@@ -121,6 +123,7 @@ void DialogsProvider::customEvent( QEvent *event )
case INTF_DIALOG_VLM: case INTF_DIALOG_VLM:
vlmDialog(); break; vlmDialog(); break;
case INTF_DIALOG_WIZARD: case INTF_DIALOG_WIZARD:
case INTF_DIALOG_STREAMWIZARD:
case INTF_DIALOG_UPDATEVLC: case INTF_DIALOG_UPDATEVLC:
case INTF_DIALOG_EXIT: case INTF_DIALOG_EXIT:
default: default:
...@@ -300,7 +303,7 @@ void DialogsProvider::simpleOpenDialog() ...@@ -300,7 +303,7 @@ void DialogsProvider::simpleOpenDialog()
* pl helps you to choose from playlist or media library, * pl helps you to choose from playlist or media library,
* go to start or enqueue * go to start or enqueue
**/ **/
static void openDirectory( intf_thread_t* p_intf, bool pl, bool go ) static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
{ {
QString dir = QFileDialog::getExistingDirectory ( 0, qtr("Open directory") ); QString dir = QFileDialog::getExistingDirectory ( 0, qtr("Open directory") );
if (!dir.isEmpty()) { if (!dir.isEmpty()) {
......
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