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
33aa26b1
Commit
33aa26b1
authored
Jun 16, 2008
by
Jean-Philippe Andre
Committed by
Jean-Baptiste Kempf
Jun 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt menu: use MenuFunc with InterfaceMenu
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
5ec2ab65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+3
-2
No files found.
modules/gui/qt4/menus.cpp
View file @
33aa26b1
...
@@ -311,6 +311,9 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf,
...
@@ -311,6 +311,9 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf,
{
{
QMenu
*
intfmenu
=
InterfacesMenu
(
p_intf
,
menu
);
QMenu
*
intfmenu
=
InterfacesMenu
(
p_intf
,
menu
);
intfmenu
->
setTitle
(
qtr
(
"Add Interfaces"
)
);
intfmenu
->
setTitle
(
qtr
(
"Add Interfaces"
)
);
MenuFunc
*
f
=
new
MenuFunc
(
intfmenu
,
4
);
CONNECT
(
intfmenu
,
aboutToShow
(),
THEDP
->
menusUpdateMapper
,
map
()
);
THEDP
->
menusUpdateMapper
->
setMapping
(
intfmenu
,
f
);
menu
->
addMenu
(
intfmenu
);
menu
->
addMenu
(
intfmenu
);
menu
->
addSeparator
();
menu
->
addSeparator
();
}
}
...
@@ -377,8 +380,6 @@ QMenu *QVLCMenu::InterfacesMenu( intf_thread_t *p_intf, QMenu *current )
...
@@ -377,8 +380,6 @@ QMenu *QVLCMenu::InterfacesMenu( intf_thread_t *p_intf, QMenu *current )
QMenu
*
submenu
=
new
QMenu
(
current
);
QMenu
*
submenu
=
new
QMenu
(
current
);
QMenu
*
menu
=
Populate
(
p_intf
,
submenu
,
varnames
,
objects
);
QMenu
*
menu
=
Populate
(
p_intf
,
submenu
,
varnames
,
objects
);
CONNECT
(
menu
,
aboutToShow
(),
THEDP
->
menusUpdateMapper
,
map
()
);
THEDP
->
menusUpdateMapper
->
setMapping
(
menu
,
4
);
return
menu
;
return
menu
;
}
}
...
...
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