Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
03525e49
Commit
03525e49
authored
Jun 17, 2008
by
Jean-Philippe Andre
Committed by
Jean-Baptiste Kempf
Jun 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt menus: fix popup submenus non disparition
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
4e497a21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+6
-3
No files found.
modules/gui/qt4/menus.cpp
View file @
03525e49
...
...
@@ -772,17 +772,20 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
InputAutoMenuBuilder
(
VLC_OBJECT
(
p_input
),
objects
,
varnames
);
vlc_object_release
(
p_input
);
action
=
menu
->
addMenu
(
AudioMenu
(
p_intf
,
NULL
)
);
submenu
=
new
QMenu
(
menu
);
action
=
menu
->
addMenu
(
AudioMenu
(
p_intf
,
submenu
)
);
action
->
setText
(
qtr
(
"&Audio"
)
);
if
(
action
->
menu
()
->
isEmpty
()
)
action
->
setEnabled
(
false
);
action
=
menu
->
addMenu
(
VideoMenu
(
p_intf
,
NULL
)
);
submenu
=
new
QMenu
(
menu
);
action
=
menu
->
addMenu
(
VideoMenu
(
p_intf
,
submenu
)
);
action
->
setText
(
qtr
(
"&Video"
)
);
if
(
action
->
menu
()
->
isEmpty
()
)
action
->
setEnabled
(
false
);
action
=
menu
->
addMenu
(
NavigMenu
(
p_intf
,
NULL
)
);
submenu
=
new
QMenu
(
menu
);
action
=
menu
->
addMenu
(
NavigMenu
(
p_intf
,
submenu
)
);
action
->
setText
(
qtr
(
"&Playback"
)
);
if
(
action
->
menu
()
->
isEmpty
()
)
action
->
setEnabled
(
false
);
...
...
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