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
5b7b3255
Commit
5b7b3255
authored
Jan 29, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: missing accessors
parent
22466842
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+7
-7
No files found.
modules/gui/qt4/menus.cpp
View file @
5b7b3255
...
...
@@ -566,13 +566,13 @@ static inline void VolumeEntries( intf_thread_t *p_intf, QMenu *current )
{
current
->
addSeparator
();
QAction
*
action
=
current
->
addAction
(
qtr
(
"Increase Volume"
),
QAction
*
action
=
current
->
addAction
(
qtr
(
"
&
Increase Volume"
),
ActionsManager
::
getInstance
(
p_intf
),
SLOT
(
AudioUp
()
)
);
action
->
setData
(
VLCMenuBar
::
ACTION_STATIC
);
action
=
current
->
addAction
(
qtr
(
"Decrease Volume"
),
action
=
current
->
addAction
(
qtr
(
"
&
Decrease Volume"
),
ActionsManager
::
getInstance
(
p_intf
),
SLOT
(
AudioDown
()
)
);
action
->
setData
(
VLCMenuBar
::
ACTION_STATIC
);
action
=
current
->
addAction
(
qtr
(
"Mute"
),
action
=
current
->
addAction
(
qtr
(
"
&
Mute"
),
ActionsManager
::
getInstance
(
p_intf
),
SLOT
(
toggleMuteAudio
()
)
);
action
->
setData
(
VLCMenuBar
::
ACTION_STATIC
);
}
...
...
@@ -787,7 +787,7 @@ void VLCMenuBar::PopupPlayEntries( QMenu *menu,
/* Play or Pause action and icon */
if
(
!
p_input
||
var_GetInteger
(
p_input
,
"state"
)
!=
PLAYING_S
)
{
action
=
menu
->
addAction
(
qtr
(
"Play"
),
action
=
menu
->
addAction
(
qtr
(
"
&
Play"
),
ActionsManager
::
getInstance
(
p_intf
),
SLOT
(
play
()
)
);
#ifndef __APPLE__
/* No icons in menus in Mac */
action
->
setIcon
(
QIcon
(
":/menu/play"
)
);
...
...
@@ -1120,13 +1120,13 @@ void VLCMenuBar::updateSystrayMenu( MainInterface *mi,
if
(
mi
->
isVisible
()
||
b_force_visible
)
{
sysMenu
->
addAction
(
QIcon
(
":/logo/vlc16.png"
),
qtr
(
"Hide VLC media player in taskbar"
),
mi
,
qtr
(
"
&
Hide VLC media player in taskbar"
),
mi
,
SLOT
(
hideUpdateSystrayMenu
()
)
);
}
else
{
sysMenu
->
addAction
(
QIcon
(
":/logo/vlc16.png"
),
qtr
(
"Show VLC media player"
),
mi
,
qtr
(
"Sho
&
w VLC media player"
),
mi
,
SLOT
(
showUpdateSystrayMenu
()
)
);
}
sysMenu
->
addSeparator
();
...
...
@@ -1138,7 +1138,7 @@ void VLCMenuBar::updateSystrayMenu( MainInterface *mi,
VolumeEntries
(
p_intf
,
sysMenu
);
sysMenu
->
addSeparator
();
addDPStaticEntry
(
sysMenu
,
qtr
(
"Open Media"
),
addDPStaticEntry
(
sysMenu
,
qtr
(
"
&
Open Media"
),
":/type/file-wide"
,
SLOT
(
openFileDialog
()
)
);
addDPStaticEntry
(
sysMenu
,
qtr
(
"&Quit"
)
,
":/menu/quit"
,
SLOT
(
quit
()
)
);
...
...
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