[vlc-commits] Qt: display the continue playback option in SPrefs
Jean-Baptiste Kempf
git at videolan.org
Fri Jan 8 16:49:49 CET 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 8 16:49:13 2016 +0100| [b73f0f971813a454b7f4a28dd8ca6528b5bbe0dd] | committer: Jean-Baptiste Kempf
Qt: display the continue playback option in SPrefs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b73f0f971813a454b7f4a28dd8ca6528b5bbe0dd
---
modules/gui/qt4/components/simple_preferences.cpp | 1 +
modules/gui/qt4/ui/sprefs_interface.ui | 11 +++++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 7dcff7d..6a6bedc 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -848,6 +848,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui.recentlyPlayedFilters, setEnabled( bool ) );
ui.recentlyPlayedFilters->setEnabled( false );
CONFIG_BOOL( "qt-recentplay", saveRecentlyPlayed );
+ CONFIG_BOOL( "qt-continue", continueBox );
CONFIG_GENERIC( "qt-recentplay-filter", String, ui.filterLabel,
recentlyPlayedFilters );
diff --git a/modules/gui/qt4/ui/sprefs_interface.ui b/modules/gui/qt4/ui/sprefs_interface.ui
index 546ddca..4d06fdb 100644
--- a/modules/gui/qt4/ui/sprefs_interface.ui
+++ b/modules/gui/qt4/ui/sprefs_interface.ui
@@ -8,7 +8,7 @@
<x>0</x>
<y>0</y>
<width>700</width>
- <height>640</height>
+ <height>757</height>
</rect>
</property>
<property name="sizePolicy">
@@ -553,13 +553,20 @@
</property>
</widget>
</item>
- <item row="3" column="0">
+ <item row="4" column="0">
<widget class="QCheckBox" name="MetadataNetworkAccessMode">
<property name="text">
<string>Allow metadata network access</string>
</property>
</widget>
</item>
+ <item row="3" column="0" colspan="4">
+ <widget class="QCheckBox" name="continueBox">
+ <property name="text">
+ <string>Continue playback?</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>
More information about the vlc-commits
mailing list