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
1fbd0f24
Commit
1fbd0f24
authored
Mar 17, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: MIM: code cosmetics
parent
53d547df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+9
-7
No files found.
modules/gui/qt4/input_manager.cpp
View file @
1fbd0f24
...
...
@@ -1014,17 +1014,23 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
{
im
=
new
InputManager
(
this
,
p_intf
);
/* Audio Menu */
menusAudioMapper
=
new
QSignalMapper
();
CONNECT
(
menusAudioMapper
,
mapped
(
QString
),
this
,
menusUpdateAudio
(
QString
)
);
/* Core Callbacks */
var_AddCallback
(
THEPL
,
"item-change"
,
ItemChanged
,
im
);
var_AddCallback
(
THEPL
,
"activity"
,
PLItemChanged
,
this
);
var_AddCallback
(
THEPL
,
"leaf-to-parent"
,
LeafToParent
,
this
);
var_AddCallback
(
THEPL
,
"playlist-item-append"
,
PLItemAppended
,
this
);
var_AddCallback
(
THEPL
,
"playlist-item-deleted"
,
PLItemRemoved
,
this
);
/* Core Callbacks to widget */
random
.
addCallback
(
this
,
SLOT
(
notifyRandom
(
bool
))
);
repeat
.
addCallback
(
this
,
SLOT
(
notifyRepeatLoop
(
bool
))
);
loop
.
addCallback
(
this
,
SLOT
(
notifyRepeatLoop
(
bool
))
);
loop
.
addCallback
(
this
,
SLOT
(
notifyRepeatLoop
(
bool
))
);
volume
.
addCallback
(
this
,
SLOT
(
notifyVolume
(
float
))
);
mute
.
addCallback
(
this
,
SLOT
(
notifyMute
(
bool
))
);
mute
.
addCallback
(
this
,
SLOT
(
notifyMute
(
bool
))
);
/* Warn our embedded IM about input changes */
DCONNECT
(
this
,
inputChanged
(
input_thread_t
*
),
...
...
@@ -1034,10 +1040,6 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
p_input
=
playlist_CurrentInput
(
THEPL
);
if
(
p_input
)
emit
inputChanged
(
p_input
);
/* Audio Menu */
menusAudioMapper
=
new
QSignalMapper
();
CONNECT
(
menusAudioMapper
,
mapped
(
QString
),
this
,
menusUpdateAudio
(
QString
)
);
}
MainInputManager
::~
MainInputManager
()
...
...
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