From: Jean-Baptiste Kempf Date: Wed, 2 May 2007 23:30:54 +0000 (+0000) Subject: Qt4 - Open Disc: handle dvdsimple X-Git-Tag: 0.9.0-test0~7544 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=03c122fbca9b289db080f9038260d9f8196c16b5;p=vlc Qt4 - Open Disc: handle dvdsimple --- diff --git a/modules/gui/qt4/components/open.cpp b/modules/gui/qt4/components/open.cpp index fd118a17a9..4ed1bd0343 100644 --- a/modules/gui/qt4/components/open.cpp +++ b/modules/gui/qt4/components/open.cpp @@ -225,6 +225,7 @@ DiscOpenPanel::DiscOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) : BUTTONACT( ui.dvdRadioButton, updateMRL()); BUTTONACT( ui.vcdRadioButton, updateMRL()); BUTTONACT( ui.audioCDRadioButton, updateMRL()); + BUTTONACT( ui.dvdsimple, updateMRL()); CONNECT( ui.titleSpin, valueChanged(int), this, updateMRL()); CONNECT( ui.chapterSpin, valueChanged(int), this, updateMRL()); @@ -244,7 +245,11 @@ void DiscOpenPanel::updateMRL() QString mrl = ""; /* DVD */ if( ui.dvdRadioButton->isChecked() ) { - mrl = "dvd://" + ui.deviceCombo->currentText(); + if( !ui.dvdsimple->isChecked() ) + mrl = "dvd://"; + else + mrl = "dvdsimple://"; + mrl += ui.deviceCombo->currentText(); emit methodChanged( "dvdnav-caching" ); if ( ui.titleSpin->value() > 0 ) {