[vlc-commits] Qt: MIM initialize p_input through constructor parameter
Jean-Baptiste Kempf
git at videolan.org
Tue Mar 17 17:26:03 CET 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 17 17:21:58 2015 +0100| [53d547df9cd7c65830fad4c15fae43f35523d484] | committer: Jean-Baptiste Kempf
Qt: MIM initialize p_input through constructor parameter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=53d547df9cd7c65830fad4c15fae43f35523d484
---
modules/gui/qt4/input_manager.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 7338d59..8d22701 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -1007,12 +1007,11 @@ void InputManager::AtoBLoop( float, int64_t i_time, int )
**********************************************************************/
MainInputManager::MainInputManager( intf_thread_t *_p_intf )
- : QObject(NULL), p_intf( _p_intf ),
+ : QObject(NULL), p_input( NULL), p_intf( _p_intf ),
random( VLC_OBJECT(THEPL), "random" ),
repeat( VLC_OBJECT(THEPL), "repeat" ), loop( VLC_OBJECT(THEPL), "loop" ),
volume( VLC_OBJECT(THEPL), "volume" ), mute( VLC_OBJECT(THEPL), "mute" )
{
- p_input = NULL;
im = new InputManager( this, p_intf );
var_AddCallback( THEPL, "item-change", ItemChanged, im );
More information about the vlc-commits
mailing list