[vlc-commits] qt: remove unused parameter

Rémi Denis-Courmont git at videolan.org
Tue Mar 12 19:34:49 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 12 20:34:36 2019 +0200| [3a49b058b9b543265afc8ae984949ae847aff9f3] | committer: Rémi Denis-Courmont

qt: remove unused parameter

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

 modules/gui/qt/components/open_panels.cpp         | 6 +++---
 modules/gui/qt/components/preferences_widgets.cpp | 3 +--
 modules/gui/qt/components/preferences_widgets.hpp | 3 +--
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/modules/gui/qt/components/open_panels.cpp b/modules/gui/qt/components/open_panels.cpp
index 64b79ecdb6..58f86a59b3 100644
--- a/modules/gui/qt/components/open_panels.cpp
+++ b/modules/gui/qt/components/open_panels.cpp
@@ -852,7 +852,7 @@ void CaptureOpenPanel::initialize()
     v4l2PropLayout->addWidget( v4l2StdLabel, 0 , 0 );
 
     v4l2StdBox = new QComboBox;
-    setfillVLCConfigCombo( "v4l2-standard", p_intf, v4l2StdBox );
+    setfillVLCConfigCombo( "v4l2-standard", v4l2StdBox );
     v4l2PropLayout->addWidget( v4l2StdBox, 0 , 1 );
     v4l2PropLayout->addItem( new QSpacerItem( 20, 20, QSizePolicy::Expanding ),
             1, 0, 3, 2 );
@@ -997,7 +997,7 @@ void CaptureOpenPanel::initialize()
     dvbPropLayout->addWidget( dvbBandLabel, 2, 0 );
 
     dvbBandBox = new QComboBox;
-    setfillVLCConfigCombo( "dvb-bandwidth", p_intf, dvbBandBox );
+    setfillVLCConfigCombo( "dvb-bandwidth", dvbBandBox );
     dvbPropLayout->addWidget( dvbBandBox, 2, 1 );
 
     dvbBandLabel->hide();
@@ -1073,7 +1073,7 @@ void CaptureOpenPanel::initialize()
     pvrPropLayout->addWidget( pvrNormLabel, 0, 0 );
 
     pvrNormBox = new QComboBox;
-    setfillVLCConfigCombo( "v4l2-standard", p_intf, pvrNormBox );
+    setfillVLCConfigCombo( "v4l2-standard", pvrNormBox );
     pvrPropLayout->addWidget( pvrNormBox, 0, 1 );
 
     QLabel *pvrFreqLabel = new QLabel( qtr( "Frequency" ) );
diff --git a/modules/gui/qt/components/preferences_widgets.cpp b/modules/gui/qt/components/preferences_widgets.cpp
index c5a7fc4ee1..ee504e8f0c 100644
--- a/modules/gui/qt/components/preferences_widgets.cpp
+++ b/modules/gui/qt/components/preferences_widgets.cpp
@@ -464,8 +464,7 @@ QString StringListConfigControl::getValue() const
     return combo->itemData( combo->currentIndex() ).toString();
 }
 
-void setfillVLCConfigCombo( const char *configname, intf_thread_t *p_intf,
-                            QComboBox *combo )
+void setfillVLCConfigCombo( const char *configname, QComboBox *combo )
 {
     module_config_t *p_config = config_FindConfig( configname );
     if( p_config == NULL )
diff --git a/modules/gui/qt/components/preferences_widgets.hpp b/modules/gui/qt/components/preferences_widgets.hpp
index 44a7f25f23..9fafbcbb4f 100644
--- a/modules/gui/qt/components/preferences_widgets.hpp
+++ b/modules/gui/qt/components/preferences_widgets.hpp
@@ -456,8 +456,7 @@ private slots:
     void comboIndexChanged( int );
 };
 
-void setfillVLCConfigCombo(const char *configname, intf_thread_t *p_intf,
-                        QComboBox *combo );
+void setfillVLCConfigCombo(const char *configname, QComboBox *combo );
 
 #if 0
 struct ModuleCheckBox {



More information about the vlc-commits mailing list