[vlc-devel] commit: Qt: Simple prefs. Fix device browse button. (Francois Cartegnie )

git version control git at videolan.org
Mon Sep 28 09:23:48 CEST 2009


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Sep 25 16:17:01 2009 +0200| [4ffd915e108bf5ed28a52201ce2284c70a26cec7] | committer: Jean-Baptiste Kempf 

Qt: Simple prefs. Fix device browse button.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4ffd915e108bf5ed28a52201ce2284c70a26cec7
---

 modules/gui/qt4/components/simple_preferences.cpp |    2 ++
 modules/gui/qt4/ui/sprefs_input.ui                |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 05d2a10..c1ecda9 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -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 );
 
diff --git a/modules/gui/qt4/ui/sprefs_input.ui b/modules/gui/qt4/ui/sprefs_input.ui
index 33c7dc6..2564df3 100644
--- a/modules/gui/qt4/ui/sprefs_input.ui
+++ b/modules/gui/qt4/ui/sprefs_input.ui
@@ -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>




More information about the vlc-devel mailing list