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
62ceeabf
Commit
62ceeabf
authored
Jun 16, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic.
parent
a28bdff5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
18 deletions
+13
-18
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+13
-18
No files found.
modules/gui/qt4/menus.cpp
View file @
62ceeabf
...
...
@@ -425,11 +425,10 @@ QMenu *QVLCMenu::AudioMenu( intf_thread_t *p_intf, QMenu * current )
{
vector
<
int
>
objects
;
vector
<
const
char
*>
varnames
;
vlc_object_t
*
p_
objec
t
;
vlc_object_t
*
p_
aou
t
;
input_thread_t
*
p_input
;
if
(
!
current
)
current
=
new
QMenu
();
if
(
!
current
)
current
=
new
QMenu
();
if
(
current
->
isEmpty
()
)
{
...
...
@@ -443,14 +442,14 @@ QMenu *QVLCMenu::AudioMenu( intf_thread_t *p_intf, QMenu * current )
p_input
=
THEMIM
->
getInput
();
if
(
p_input
)
vlc_object_yield
(
p_input
);
p_
objec
t
=
(
vlc_object_t
*
)
vlc_object_find
(
p_intf
,
p_
aou
t
=
(
vlc_object_t
*
)
vlc_object_find
(
p_intf
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
AudioAutoMenuBuilder
(
p_
objec
t
,
p_input
,
objects
,
varnames
);
AudioAutoMenuBuilder
(
p_
aou
t
,
p_input
,
objects
,
varnames
);
if
(
p_
objec
t
)
vlc_object_release
(
p_
objec
t
);
if
(
p_
aou
t
)
vlc_object_release
(
p_
aou
t
);
if
(
p_input
)
vlc_object_release
(
p_input
);
...
...
@@ -468,8 +467,7 @@ QMenu *QVLCMenu::VideoMenu( intf_thread_t *p_intf, QMenu *current )
vector
<
int
>
objects
;
vector
<
const
char
*>
varnames
;
if
(
!
current
)
current
=
new
QMenu
();
if
(
!
current
)
current
=
new
QMenu
();
if
(
current
->
isEmpty
()
)
{
...
...
@@ -519,10 +517,7 @@ QMenu *QVLCMenu::NavigMenu( intf_thread_t *p_intf, QMenu *menu )
vector
<
int
>
objects
;
vector
<
const
char
*>
varnames
;
if
(
!
menu
)
{
menu
=
new
QMenu
();
}
if
(
!
menu
)
menu
=
new
QMenu
();
if
(
menu
->
isEmpty
()
)
{
...
...
@@ -599,7 +594,8 @@ QMenu *QVLCMenu::HelpMenu( QMenu *current )
addDPStaticEntry
(
menu
,
qtr
(
"Help..."
)
,
""
,
":/pixmaps/menus_help_16px.png"
,
SLOT
(
helpDialog
()
),
"F1"
);
#ifdef UPDATE_CHECK
addDPStaticEntry
(
menu
,
qtr
(
"Check for updates..."
)
,
""
,
""
,
SLOT
(
updateDialog
()
),
""
);
addDPStaticEntry
(
menu
,
qtr
(
"Check for updates..."
)
,
""
,
""
,
SLOT
(
updateDialog
()
),
""
);
#endif
menu
->
addSeparator
();
addDPStaticEntry
(
menu
,
qtr
(
I_MENU_ABOUT
),
""
,
""
,
SLOT
(
aboutDialog
()
),
...
...
@@ -915,8 +911,7 @@ QMenu * QVLCMenu::Populate( intf_thread_t *p_intf,
bool
append
)
{
QMenu
*
menu
=
current
;
if
(
!
menu
)
menu
=
new
QMenu
();
if
(
!
menu
)
menu
=
new
QMenu
();
/* Disable all non static entries */
QAction
*
p_action
;
...
...
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