]> git.sesse.net Git - vlc/commitdiff
Qt4: add playlist-tree selection to simple preferences
authorIlkka Ollakka <ileoo@videolan.org>
Wed, 30 Jun 2010 16:09:16 +0000 (19:09 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Wed, 30 Jun 2010 16:09:16 +0000 (19:09 +0300)
I think tree-view on playlist looks ok (iconview/listview atleast),
so lets not make too hard to enable it.

modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_interface.ui

index 57f08ce3c48695aff08f466493013bd14fe24be1..5499bd9530d9d8ba6093c015fa7a8b007a968d31 100644 (file)
@@ -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 );
index 0877d40cb8cf14dadbc5a33b57a0f68d66c923df..bc96dfadfa1fedc35946ccb4372fc81bfed61496 100644 (file)
            </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>