]> git.sesse.net Git - vlc/commitdiff
qt4: Fix previous modification.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 15:58:09 +0000 (17:58 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 15:58:43 +0000 (17:58 +0200)
modules/gui/qt4/components/complete_preferences.cpp

index cfdf5d443ff1c6dff78f16c22a4fcedf05f75671..7a495d0efbcba67e56c689eb7f9ce65f6ea5f150 100644 (file)
@@ -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++ )