From: Jean-Baptiste Kempf Date: Sun, 27 Jul 2008 03:53:31 +0000 (-0700) Subject: Remove unneeded option now. Screw Qt < 4.3 X-Git-Tag: 0.9.0-test3~229 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=25913057d876321a7dad59c8b33223f0bf83dd3b;p=vlc Remove unneeded option now. Screw Qt < 4.3 Close #1757 --- diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index 88294c5d7e..14ec54cddc 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 6781f743b6..a47aed7c52 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();