Qt4 - Open: Capture Tab added. Still almost empty, but well, this is coming after. :D
[vlc.git] / modules / gui / qt4 / dialogs_provider.cpp
index 36f7847..a851968 100644 (file)
@@ -86,7 +86,7 @@ void DialogsProvider::customEvent( QEvent *event )
             case INTF_DIALOG_NET:
                 openNetDialog(); break;
             case INTF_DIALOG_CAPTURE:
-                openDialog(); break;
+                openCaptureDialog(); break;
             case INTF_DIALOG_PLAYLIST:
                 playlistDialog(); break;
             case INTF_DIALOG_MESSAGES:
@@ -173,6 +173,10 @@ void DialogsProvider::openNetDialog()
 {
     openDialog( 2 );
 }
+void DialogsProvider::openCaptureDialog()
+{
+    openDialog( 3 );
+}
 void DialogsProvider::openDialog( int i_tab )
 {
     OpenDialog::getInstance( p_intf->p_sys->p_mi  , p_intf )->showTab( i_tab );