Commit 7ffb2aee authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: sprefs, add the auto-resize option to the interface panel.

parent fd1baec6
...@@ -483,6 +483,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -483,6 +483,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC( "qt-system-tray", Bool, NULL, systrayBox ); CONFIG_GENERIC( "qt-system-tray", Bool, NULL, systrayBox );
CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel, CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel,
ui.fileSkin, ui.skinBrowse ); ui.fileSkin, ui.skinBrowse );
CONFIG_GENERIC( "qt-video-autoresize", Bool, NULL, resizingBox );
CONFIG_GENERIC( "album-art", IntegerList, ui.artFetchLabel, CONFIG_GENERIC( "album-art", IntegerList, ui.artFetchLabel,
artFetcher ); artFetcher );
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>693</width> <width>701</width>
<height>604</height> <height>604</height>
</rect> </rect>
</property> </property>
...@@ -119,14 +119,7 @@ ...@@ -119,14 +119,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="4" colspan="2" > <item row="3" column="2" colspan="2" >
<widget class="QCheckBox" name="systrayBox" >
<property name="text" >
<string>_("Systray icon")</string>
</property>
</widget>
</item>
<item row="3" column="2" colspan="4" >
<widget class="QCheckBox" name="fsController" > <widget class="QCheckBox" name="fsController" >
<property name="text" > <property name="text" >
<string>_("Show a controller in fullscreen")</string> <string>_("Show a controller in fullscreen")</string>
...@@ -217,6 +210,20 @@ ...@@ -217,6 +210,20 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="4" colspan="2" >
<widget class="QCheckBox" name="systrayBox" >
<property name="text" >
<string>_("Systray icon")</string>
</property>
</widget>
</item>
<item row="2" column="4" colspan="2" >
<widget class="QCheckBox" name="resizingBox" >
<property name="text" >
<string>_("Resize interface to video size")</string>
</property>
</widget>
</item>
</layout> </layout>
</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