Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
95b46803
Commit
95b46803
authored
Jan 28, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - IM. simplification again, since emit inputChanged() calls setInput.
parent
70304d68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+4
-4
No files found.
modules/gui/qt4/input_manager.cpp
View file @
95b46803
...
...
@@ -399,12 +399,13 @@ void InputManager::setRate( int new_rate )
**********************************************************************/
MainInputManager
*
MainInputManager
::
instance
=
NULL
;
MainInputManager
::
MainInputManager
(
intf_thread_t
*
_p_intf
)
:
QObject
(
NULL
),
p_intf
(
_p_intf
)
MainInputManager
::
MainInputManager
(
intf_thread_t
*
_p_intf
)
:
QObject
(
NULL
),
p_intf
(
_p_intf
)
{
p_input
=
NULL
;
im
=
new
InputManager
(
this
,
p_intf
);
// No necessary, I think
//var_AddCallback( THEPL, "intf-change", ItemChanged, im );
//var_AddCallback( THEPL, "playlist-current", ItemChanged, im );
...
...
@@ -465,7 +466,6 @@ void MainInputManager::customEvent( QEvent *event )
p_input
=
THEPL
->
p_input
;
if
(
p_input
&&
!
(
p_input
->
b_die
||
p_input
->
b_dead
)
)
{
im
->
setInput
(
p_input
);
emit
inputChanged
(
p_input
);
}
else
...
...
@@ -482,12 +482,12 @@ void MainInputManager::customEvent( QEvent *event )
if
(
p_playlist
)
{
p_input
=
p_playlist
->
p_input
;
vlc_object_yield
(
p_input
);
emit
inputChanged
(
p_input
);
}
}
}
/* Playlist Control functions */
void
MainInputManager
::
stop
()
{
playlist_Stop
(
THEPL
);
...
...
Write
Preview
Markdown
is supported
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