Commit 7a728a6f authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

gui/qt: extended_panels: declare helper-functions as static

These functions are only used within the translation-unit in question,
and as such it does not make sense for them to have external linkage.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 51f3d6ab
...@@ -56,12 +56,12 @@ static char *ChangeFiltersString( struct intf_thread_t *p_intf, const char *psz_ ...@@ -56,12 +56,12 @@ static char *ChangeFiltersString( struct intf_thread_t *p_intf, const char *psz_
static void ChangeAFiltersString( struct intf_thread_t *p_intf, const char *psz_name, bool b_add ); static void ChangeAFiltersString( struct intf_thread_t *p_intf, const char *psz_name, bool b_add );
static void ChangeVFiltersString( struct intf_thread_t *p_intf, const char *psz_name, bool b_add ); static void ChangeVFiltersString( struct intf_thread_t *p_intf, const char *psz_name, bool b_add );
const QString ModuleFromWidgetName( QObject *obj ) static const QString ModuleFromWidgetName( QObject *obj )
{ {
return obj->objectName().replace( "Enable","" ); return obj->objectName().replace( "Enable","" );
} }
QString OptionFromWidgetName( QObject *obj ) static QString OptionFromWidgetName( QObject *obj )
{ {
/* Gruik ? ... nah */ /* Gruik ? ... nah */
QString option = obj->objectName().replace( "Slider", "" ) QString option = obj->objectName().replace( "Slider", "" )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment