[vlc-devel] [PATCH 07/11] qt: set setFilterOption non static

Thomas Guillem thomas at gllm.fr
Mon May 29 18:53:01 CEST 2017


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

diff --git a/modules/gui/qt/components/extended_panels.cpp b/modules/gui/qt/components/extended_panels.cpp
index ffbb6abb11..2e2b8815c4 100644
--- a/modules/gui/qt/components/extended_panels.cpp
+++ b/modules/gui/qt/components/extended_panels.cpp
@@ -482,7 +482,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, QString val )
 {
     vout_thread_t *p_vout = THEMIM->getVout();
@@ -595,7 +595,7 @@ void ExtVideo::updateFilterOptions()
         val = combobox->itemData( combobox->currentIndex() ).toString();
     }
 
-    setFilterOption( p_intf, qtu( module ), qtu( option ), i_int, f_float, val);
+    setFilterOption( qtu( module ), qtu( option ), i_int, f_float, val);
 }
 
 /**********************************************************************
diff --git a/modules/gui/qt/components/extended_panels.hpp b/modules/gui/qt/components/extended_panels.hpp
index c0b1bf0047..ddd3da5d38 100644
--- a/modules/gui/qt/components/extended_panels.hpp
+++ b/modules/gui/qt/components/extended_panels.hpp
@@ -54,7 +54,7 @@ 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, QString );
+    void setFilterOption( const char *psz_module, const char *psz_option, int, double, QString );
 
 private slots:
     void updateFilters();
-- 
2.11.0



More information about the vlc-devel mailing list