]> git.sesse.net Git - vlc/commitdiff
[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 3cfb8f40e7b29c7e43d3acb9583703538b0a4019..ca1c776d51ba3102b2563b56089f45106a0d0e54 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 7f8fab3d75fa2f7b5ab81a678e9cb1f13ece2584..61761fb0fa35998f97af385ee271577359267bd7 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>