[vlc-commits] Qt: display the continue playback option in SPrefs

Jean-Baptiste Kempf git at videolan.org
Fri Jan 8 16:54:18 CET 2016


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan  8 16:49:13 2016 +0100| [dc6703ead386e05b337ff1747e54bc428be8d178] | committer: Jean-Baptiste Kempf

Qt: display the continue playback option in SPrefs

(cherry picked from commit b73f0f971813a454b7f4a28dd8ca6528b5bbe0dd)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=dc6703ead386e05b337ff1747e54bc428be8d178
---

 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 04c144b..1a71766 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -870,6 +870,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