From a6eb52a998e9455f3ad80807fdaa744c7fa351df Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sat, 5 Jul 2008 17:58:09 +0200 Subject: [PATCH] qt4: Fix previous modification. --- modules/gui/qt4/components/complete_preferences.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp index cfdf5d443f..7a495d0efb 100644 --- a/modules/gui/qt4/components/complete_preferences.cpp +++ b/modules/gui/qt4/components/complete_preferences.cpp @@ -75,7 +75,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) : #undef BI /* Build the tree for the main module */ - const module_t *p_module = module_GetMainModule( p_intf ); + module_t *p_module = module_GetMainModule( p_intf ); /* Initialisation and get the confsize */ PrefsItemData *data = NULL; @@ -196,7 +196,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) : vlc_object_release( (vlc_object_t*)p_module ); - vlc_list_t *p_list = vlc_list_find( p_this, VLC_OBJECT_MODULE, + vlc_list_t *p_list = vlc_list_find( p_intf, VLC_OBJECT_MODULE, FIND_ANYWHERE ); /* Build the tree of plugins */ for( int i_index = 0; i_index < p_list->i_count; i_index++ ) -- 2.39.2