[vlc-devel] commit: Remove unneeded option now. Screw Qt < 4.3 (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Jul 27 05:53:24 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jul 26 20:53:31 2008 -0700| [25913057d876321a7dad59c8b33223f0bf83dd3b]

Remove unneeded option now. Screw Qt < 4.3
Close #1757

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

 modules/gui/qt4/components/open_panels.cpp |    2 --
 modules/gui/qt4/qt4.cpp                    |    5 -----
 2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 88294c5..14ec54c 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -80,8 +80,6 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
     dialogBox->restoreState(
             settings.value( "file-dialog-state" ).toByteArray() );
 #endif
-    dialogBox->setViewMode( config_GetInt( p_intf, "qt-open-detail" ) ?
-            QFileDialog::Detail : QFileDialog::List );
 
     /* We don't want to see a grip in the middle of the window, do we? */
     dialogBox->setSizeGripEnabled( false );
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 6781f74..a47aed7 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -124,8 +124,6 @@ static void ShowDialog   ( intf_thread_t *, int, int, intf_dialog_args_t * );
             "Default is '255;255;255;20;226;20;255;176;15;235;30;20'\n" \
             "An alternative can be '30;30;50;40;40;100;50;50;160;150;150;255' ")
 
-#define VIEWDETAIL_TEXT N_( "Show the opening dialog view in detail mode" )
-
 #define QT_MODE_TEXT N_( "Selection of the starting mode and look " )
 #define QT_MODE_LONGTEXT N_( "Start VLC with:\n" \
                              " - normal mode\n"  \
@@ -200,9 +198,6 @@ vlc_module_begin();
                 "255;255;255;20;226;20;255;176;15;235;30;20",
                 NULL, SLIDERCOL_TEXT, SLIDERCOL_LONGTEXT, false );
 
-        add_bool( "qt-open-detail", false, NULL, VIEWDETAIL_TEXT,
-                VIEWDETAIL_TEXT, false );
-
         add_bool( "qt-privacy-ask", true, NULL, PRIVACY_TEXT, PRIVACY_TEXT,
                 false );
             change_internal();




More information about the vlc-devel mailing list