]> git.sesse.net Git - vlc/commitdiff
Qt: SPrefs, add a record path configuration option.
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 1 May 2009 15:20:16 +0000 (17:20 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 1 May 2009 15:20:41 +0000 (17:20 +0200)
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_input.ui

index 21f63e6f513273e3d005ae0a956506a5867dc06e..4a3b369b16bb3628a7428e551288b33e207d2b62 100644 (file)
@@ -386,6 +386,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
                 free( psz_dvddiscpath );
                 free( psz_vcddiscpath );
             }
+            CONFIG_GENERIC_FILE( "input-record-path", Directory, ui.recordLabel,
+                                 ui.recordPath, ui.recordBrowse );
 
             CONFIG_GENERIC_NO_BOOL( "server-port", Integer, ui.portLabel,
                                     UDPPort );
index a48c85cc6012a04a78e2eeeebd7ae612239e362c..c26639293c827a16889e9436f3628b2818bdef63 100644 (file)
@@ -7,8 +7,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>616</width>
-    <height>480</height>
+    <width>622</width>
+    <height>514</height>
    </rect>
   </property>
   <property name="windowTitle">
         </property>
        </widget>
       </item>
+      <item row="1" column="0">
+       <widget class="QLabel" name="recordLabel">
+        <property name="text">
+         <string>Record directory or filename</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1">
+       <widget class="QLineEdit" name="recordPath"/>
+      </item>
+      <item row="1" column="2">
+       <widget class="QPushButton" name="recordBrowse">
+        <property name="text">
+         <string>Browse...</string>
+        </property>
+       </widget>
+      </item>
      </layout>
     </widget>
    </item>