]> git.sesse.net Git - vlc/commitdiff
Qt4 - SPrefs : Subtitles... Almost the end ?
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 1 Mar 2007 23:18:54 +0000 (23:18 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 1 Mar 2007 23:18:54 +0000 (23:18 +0000)
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_subtitles.ui

index b5e2e2b721cc6827815f848805dc6e1ddb9caafd..f36a8ee55f6afca55e4fe85d9ab17310240029cb 100644 (file)
@@ -231,9 +231,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
         END_SPREFS_CAT;
 
         START_SPREFS_CAT( Subtitles, "Subtitles & OSD settings" );
+            CONFIG_GENERIC( "osd", Bool, NULL, OSDBox);
 
             CONFIG_GENERIC( "subsdec-encoding", StringList, NULL, encoding );
             CONFIG_GENERIC( "sub-language", String, NULL, preferredLanguage );
+
             CONFIG_GENERIC( "freetype-font", String, NULL, font ); /* FIXME -> use file instead of string */
             CONFIG_GENERIC( "freetype-color", IntegerList, NULL, fontColor );
             CONFIG_GENERIC( "freetype-rel-fontsize", IntegerList, NULL,
index 12703b4f714637300a72a139d39245a44f18c80f..44be37b0f209f5fccdf703f419fba78a76af01d5 100644 (file)
@@ -32,7 +32,7 @@
        <number>6</number>
       </property>
       <item>
-       <widget class="QCheckBox" name="checkBox" >
+       <widget class="QCheckBox" name="OSDBox" >
         <property name="text" >
          <string>Enable OSD</string>
         </property>