Commit 94b30f51 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: allow SPU deactivation in simple preferences.

parent 9a2937d6
...@@ -648,6 +648,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -648,6 +648,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC( "video-title-position", IntegerList, CONFIG_GENERIC( "video-title-position", IntegerList,
ui.OSDTitlePosLabel, OSDTitlePos ); ui.OSDTitlePosLabel, OSDTitlePos );
CONFIG_BOOL( "spu", spuActiveBox);
CONFIG_GENERIC( "subsdec-encoding", StringList, ui.encodLabel, CONFIG_GENERIC( "subsdec-encoding", StringList, ui.encodLabel,
encoding ); encoding );
CONFIG_GENERIC( "sub-language", String, ui.subLangLabel, CONFIG_GENERIC( "sub-language", String, ui.subLangLabel,
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>778</width> <width>741</width>
<height>614</height> <height>373</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -60,6 +60,13 @@ ...@@ -60,6 +60,13 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<widget class="QCheckBox" name="spuActiveBox">
<property name="text">
<string>Enable subtitles</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QGroupBox" name="groupBox_2"> <widget class="QGroupBox" name="groupBox_2">
<property name="sizePolicy"> <property name="sizePolicy">
......
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