]> git.sesse.net Git - vlc/commitdiff
qt4: no need to use VLC_OBJECT() here. Plus use GetMainModule().
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 16:00:11 +0000 (18:00 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 16:00:11 +0000 (18:00 +0200)
modules/gui/qt4/components/complete_preferences.cpp

index 7a495d0efbcba67e56c689eb7f9ce65f6ea5f150..0fce1cae6cbae79d9ed93be03a6322ee2278efe3 100644 (file)
@@ -362,10 +362,10 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
     if( data->i_type == TYPE_CATEGORY )
         return;
     else if( data->i_type == TYPE_MODULE )
-        p_module = module_Find( VLC_OBJECT(p_intf), data->psz_name );
+        p_module = module_Find( p_intf, data->psz_name );
     else
     {
-        p_module = module_Find( VLC_OBJECT(p_intf), "main" );
+        p_module = module_GetMainModule( p_intf );
         assert( p_module );
     }