[vlc-commits] commit: Qt4: add playlist-tree selection to simple preferences ( Ilkka Ollakka )

git at videolan.org git at videolan.org
Wed Jun 30 18:10:59 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Jun 30 19:09:16 2010 +0300| [03b67fa4dd6859c54f703633959d438607087af2] | committer: Ilkka Ollakka 

Qt4: add playlist-tree selection to simple preferences

I think tree-view on playlist looks ok (iconview/listview atleast),
so lets not make too hard to enable it.

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

 modules/gui/qt4/components/simple_preferences.cpp |    1 +
 modules/gui/qt4/ui/sprefs_interface.ui            |    7 +++++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 57f08ce..5499bd9 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -579,6 +579,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             CONFIG_BOOL( "qt-fs-controller", fsController );
             CONFIG_BOOL( "qt-system-tray", systrayBox );
             CONFIG_BOOL( "qt-notification", sysPop );
+            CONFIG_BOOL( "playlist-tree", treePlaylist );
             CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel,
                                  ui.fileSkin, ui.skinBrowse );
             CONFIG_BOOL( "qt-video-autoresize", resizingBox );
diff --git a/modules/gui/qt4/ui/sprefs_interface.ui b/modules/gui/qt4/ui/sprefs_interface.ui
index 0877d40..bc96dfa 100644
--- a/modules/gui/qt4/ui/sprefs_interface.ui
+++ b/modules/gui/qt4/ui/sprefs_interface.ui
@@ -349,6 +349,13 @@
            </property>
           </widget>
          </item>
+         <item row="9" column="0">
+          <widget class="QCheckBox" name="treePlaylist">
+           <property name="text">
+            <string>Display playlist tree</string>
+           </property>
+          </widget>
+         </item>
          <item row="8" column="1">
           <widget class="QComboBox" name="stylesCombo"/>
          </item>



More information about the vlc-commits mailing list