Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
65d1e784
Commit
65d1e784
authored
May 20, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt, simplification: kill dead code
parent
7f9d5e6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+1
-13
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+1
-1
No files found.
modules/gui/qt4/input_manager.cpp
View file @
65d1e784
...
...
@@ -958,19 +958,6 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
DCONNECT
(
this
,
inputChanged
(
input_thread_t
*
),
im
,
setInput
(
input_thread_t
*
)
);
/* emit check if playlist has already started playing */
input_thread_t
*
p_input
=
playlist_CurrentInput
(
THEPL
);
if
(
p_input
)
{
input_item_t
*
p_item
=
input_GetItem
(
p_input
);
if
(
p_item
)
{
IMEvent
*
event
=
new
IMEvent
(
ItemChanged_Type
,
p_item
);
customEvent
(
event
);
delete
event
;
}
vlc_object_release
(
p_input
);
}
}
MainInputManager
::~
MainInputManager
()
...
...
@@ -1042,6 +1029,7 @@ void MainInputManager::customEvent( QEvent *event )
case
LeafToParent_Type
:
imEv
=
static_cast
<
IMEvent
*>
(
event
);
emit
leafBecameParent
(
imEv
->
p_item
);
return
;
default:
if
(
type
!=
ItemChanged_Type
)
return
;
}
...
...
modules/gui/qt4/qt4.cpp
View file @
65d1e784
...
...
@@ -32,7 +32,7 @@
#include "qt4.hpp"
#include "input_manager.hpp"
/* THEMIM
crea
tion */
#include "input_manager.hpp"
/* THEMIM
destruc
tion */
#include "dialogs_provider.hpp"
/* THEDP creation */
#include "main_interface.hpp"
/* MainInterface creation */
#include "dialogs/help.hpp"
/* Launch Update */
...
...
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