[Qt] Add the video-on-title in Simple Preferences.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 16 Oct 2008 10:52:18 +0000 (12:52 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 16 Oct 2008 10:53:53 +0000 (12:53 +0200)
In the complete preferences it is not linked directly to OSD, so users don't find it. Linked to Closed #2207.

modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_subtitles.ui

index 3cfb8f4..ca1c776 100644 (file)
@@ -515,6 +515,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
 
         START_SPREFS_CAT( Subtitles, qtr("Subtitles & On Screen Display Settings") );
             CONFIG_GENERIC( "osd", Bool, NULL, OSDBox);
+            CONFIG_GENERIC( "video-title-show", Bool, NULL, OSDTitleBox);
+
 
             CONFIG_GENERIC( "subsdec-encoding", StringList, NULL, encoding );
             CONFIG_GENERIC( "sub-language", String, NULL, preferredLanguage );
index 7f8fab3..61761fb 100644 (file)
@@ -6,7 +6,7 @@
     <x>0</x>
     <y>0</y>
     <width>434</width>
-    <height>410</height>
+    <height>441</height>
    </rect>
   </property>
   <property name="windowTitle" >
         <property name="text" >
          <string>_("Enable OSD")</string>
         </property>
-        <property name="checked" >
-         <bool>true</bool>
-        </property>
-        <property name="tristate" >
-         <bool>false</bool>
+       </widget>
+      </item>
+      <item>
+       <widget class="QCheckBox" name="OSDTitleBox" >
+        <property name="text" >
+         <string>_("Show media title on video")</string>
         </property>
        </widget>
       </item>