]> git.sesse.net Git - vlc/commitdiff
Qt: Simple prefs. Fix device browse button.
authorFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 25 Sep 2009 14:17:01 +0000 (16:17 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 28 Sep 2009 07:18:01 +0000 (09:18 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_input.ui

index 05d2a10377d8dd7cb2311cb8b1eae59961055813..c1ecda96729f4bce489859b76e9b79004a376f7f 100644 (file)
@@ -403,6 +403,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
                 free( psz_dvddiscpath );
                 free( psz_vcddiscpath );
             }
+            CONFIG_GENERIC_FILE( "dvd", File, ui.DVDLabel,
+                                 ui.DVDDevice, ui.DVDBrowse );
             CONFIG_GENERIC_FILE( "input-record-path", Directory, ui.recordLabel,
                                  ui.recordPath, ui.recordBrowse );
 
index 33c7dc67d0919f8d00a0ef053fc5da62b28ded47..2564df314c09c0752f69ef2de2a1710d8941433d 100644 (file)
@@ -22,7 +22,7 @@
      </property>
      <layout class="QGridLayout">
       <item row="0" column="0">
-       <widget class="QLabel" name="label">
+       <widget class="QLabel" name="DVDLabel">
         <property name="minimumSize">
          <size>
           <width>250</width>