Commit 51d01bba authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

[Qt] Add the video-on-title in Simple Preferences.

In the complete preferences it is not linked directly to OSD, so users don't find it. Linked to Closed #2207.
parent c2b6026b
...@@ -515,6 +515,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -515,6 +515,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
START_SPREFS_CAT( Subtitles, qtr("Subtitles & On Screen Display Settings") ); START_SPREFS_CAT( Subtitles, qtr("Subtitles & On Screen Display Settings") );
CONFIG_GENERIC( "osd", Bool, NULL, OSDBox); CONFIG_GENERIC( "osd", Bool, NULL, OSDBox);
CONFIG_GENERIC( "video-title-show", Bool, NULL, OSDTitleBox);
CONFIG_GENERIC( "subsdec-encoding", StringList, NULL, encoding ); CONFIG_GENERIC( "subsdec-encoding", StringList, NULL, encoding );
CONFIG_GENERIC( "sub-language", String, NULL, preferredLanguage ); CONFIG_GENERIC( "sub-language", String, NULL, preferredLanguage );
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>434</width> <width>434</width>
<height>410</height> <height>441</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
...@@ -27,11 +27,12 @@ ...@@ -27,11 +27,12 @@
<property name="text" > <property name="text" >
<string>_("Enable OSD")</string> <string>_("Enable OSD")</string>
</property> </property>
<property name="checked" > </widget>
<bool>true</bool> </item>
</property> <item>
<property name="tristate" > <widget class="QCheckBox" name="OSDTitleBox" >
<bool>false</bool> <property name="text" >
<string>_("Show media title on video")</string>
</property> </property>
</widget> </widget>
</item> </item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment