[vlc-devel] commit: qt4: Fix previous modification. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Jul 5 17:56:34 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul  5 17:58:09 2008 +0200| [a6eb52a998e9455f3ad80807fdaa744c7fa351df]

qt4: Fix previous modification.

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

 .../gui/qt4/components/complete_preferences.cpp    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp
index cfdf5d4..7a495d0 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++ )




More information about the vlc-devel mailing list