Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
424ebcf3
Commit
424ebcf3
authored
Feb 11, 2008
by
Jean-Baptiste Kempf
Browse files
Qt4 - Try to minimize the callbacks. Just commenting the code in case of regressions...
parent
6f2c37e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/input_manager.cpp
View file @
424ebcf3
...
@@ -451,7 +451,7 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
...
@@ -451,7 +451,7 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
p_input
=
NULL
;
p_input
=
NULL
;
im
=
new
InputManager
(
this
,
p_intf
);
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
,
"item-change"
,
ItemChanged
,
im
);
var_AddCallback
(
THEPL
,
"playlist-current"
,
PLItemChanged
,
this
);
var_AddCallback
(
THEPL
,
"playlist-current"
,
PLItemChanged
,
this
);
var_AddCallback
(
THEPL
,
"activity"
,
PLItemChanged
,
this
);
var_AddCallback
(
THEPL
,
"activity"
,
PLItemChanged
,
this
);
...
@@ -479,7 +479,7 @@ MainInputManager::~MainInputManager()
...
@@ -479,7 +479,7 @@ MainInputManager::~MainInputManager()
var_DelCallback
(
THEPL
,
"activity"
,
PLItemChanged
,
this
);
var_DelCallback
(
THEPL
,
"activity"
,
PLItemChanged
,
this
);
var_DelCallback
(
THEPL
,
"item-change"
,
ItemChanged
,
im
);
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
);
var_DelCallback
(
THEPL
,
"playlist-current"
,
PLItemChanged
,
this
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment