[vlc-commits] qt: set setFilterOption non static

Thomas Guillem git at videolan.org
Wed May 31 17:45:48 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue May 23 19:14:33 2017 +0200| [9c4e1d03477914f733474aa7bbd43396b93aec91] | committer: Thomas Guillem

qt: set setFilterOption non static

Ref #6873

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

 modules/gui/qt/components/extended_panels.cpp | 4 ++--
 modules/gui/qt/components/extended_panels.hpp | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt/components/extended_panels.cpp b/modules/gui/qt/components/extended_panels.cpp
index 1217e7685e..b690397494 100644
--- a/modules/gui/qt/components/extended_panels.cpp
+++ b/modules/gui/qt/components/extended_panels.cpp
@@ -493,7 +493,7 @@ void ExtVideo::setWidgetValue( QObject *widget )
     }
 }
 
-void ExtVideo::setFilterOption( struct intf_thread_t *p_intf, const char *psz_module, const char *psz_option,
+void ExtVideo::setFilterOption( const char *psz_module, const char *psz_option,
         int i_int, double f_float, const char *psz_string )
 {
     QVector<vout_thread_t*> p_vouts = THEMIM->getVouts();
@@ -622,7 +622,7 @@ void ExtVideo::updateFilterOptions()
         val = combobox->itemData( combobox->currentIndex() ).toString();
     }
 
-    setFilterOption( p_intf, qtu( module ), qtu( option ), i_int, f_float, qtu( val ));
+    setFilterOption( qtu( module ), qtu( option ), i_int, f_float, qtu( val ) );
 }
 
 /**********************************************************************
diff --git a/modules/gui/qt/components/extended_panels.hpp b/modules/gui/qt/components/extended_panels.hpp
index 580ec0c75c..1f6a1869d3 100644
--- a/modules/gui/qt/components/extended_panels.hpp
+++ b/modules/gui/qt/components/extended_panels.hpp
@@ -54,8 +54,8 @@ private:
     void initComboBoxItems( QObject* );
     void setWidgetValue( QObject* );
     void clean();
-    static void setFilterOption( struct intf_thread_t *, const char *psz_module,
-                                 const char *psz_option, int, double, const char * );
+    void setFilterOption( const char *psz_module, const char *psz_option, int,
+                          double, const char * );
 
 private slots:
     void updateFilters();



More information about the vlc-commits mailing list