Commit 424ebcf3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Try to minimize the callbacks. Just commenting the code in case of regressions...

parent 6f2c37e4
......@@ -451,7 +451,7 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
p_input = NULL;
im = new InputManager( this, p_intf );
var_AddCallback( THEPL, "item-change", PLItemChanged, this );
// var_AddCallback( THEPL, "item-change", PLItemChanged, this );
var_AddCallback( THEPL, "item-change", ItemChanged, im );
var_AddCallback( THEPL, "playlist-current", PLItemChanged, this );
var_AddCallback( THEPL, "activity", PLItemChanged, this );
......@@ -479,7 +479,7 @@ MainInputManager::~MainInputManager()
var_DelCallback( THEPL, "activity", PLItemChanged, this );
var_DelCallback( THEPL, "item-change", ItemChanged, im );
var_DelCallback( THEPL, "item-change", PLItemChanged, this );
// var_DelCallback( THEPL, "item-change", PLItemChanged, this );
var_DelCallback( THEPL, "playlist-current", PLItemChanged, this );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment