Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
22a10cf3
Commit
22a10cf3
authored
Mar 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: cleanup
parent
3c99a3b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+6
-8
No files found.
modules/gui/qt4/menus.cpp
View file @
22a10cf3
...
@@ -877,21 +877,18 @@ void QVLCMenu::MiscPopupMenu( intf_thread_t *p_intf )
...
@@ -877,21 +877,18 @@ void QVLCMenu::MiscPopupMenu( intf_thread_t *p_intf )
/* Main Menu that sticks everything together */
/* Main Menu that sticks everything together */
void
QVLCMenu
::
PopupMenu
(
intf_thread_t
*
p_intf
,
bool
show
)
void
QVLCMenu
::
PopupMenu
(
intf_thread_t
*
p_intf
,
bool
show
)
{
{
/* Destroy popup menu if there is one */
/* Delete old popup if there is one */
if
(
p_intf
->
p_sys
->
p_popup_menu
)
delete
p_intf
->
p_sys
->
p_popup_menu
;
if
(
!
show
)
if
(
!
show
)
{
{
delete
p_intf
->
p_sys
->
p_popup_menu
;
p_intf
->
p_sys
->
p_popup_menu
=
NULL
;
p_intf
->
p_sys
->
p_popup_menu
=
NULL
;
return
;
return
;
}
}
/* Delete and recreate a popup if there is one */
if
(
p_intf
->
p_sys
->
p_popup_menu
)
delete
p_intf
->
p_sys
->
p_popup_menu
;
/* */
/* */
QMenu
*
menu
=
new
QMenu
();
QMenu
*
menu
=
new
QMenu
();
QMenu
*
submenu
;
QAction
*
action
;
QAction
*
action
;
bool
b_isFullscreen
=
false
;
bool
b_isFullscreen
=
false
;
MainInterface
*
mi
=
p_intf
->
p_sys
->
p_mi
;
MainInterface
*
mi
=
p_intf
->
p_sys
->
p_mi
;
...
@@ -904,6 +901,7 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
...
@@ -904,6 +901,7 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
if
(
p_input
)
if
(
p_input
)
{
{
QMenu
*
submenu
;
vout_thread_t
*
p_vout
=
THEMIM
->
getVout
();
vout_thread_t
*
p_vout
=
THEMIM
->
getVout
();
/* Add a fullscreen switch button, since it is the most used function */
/* Add a fullscreen switch button, since it is the most used function */
...
@@ -951,7 +949,7 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
...
@@ -951,7 +949,7 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
/* Add some special entries for windowed mode: Interface Menu */
/* Add some special entries for windowed mode: Interface Menu */
if
(
!
b_isFullscreen
)
if
(
!
b_isFullscreen
)
{
{
submenu
=
new
QMenu
(
qtr
(
"Interface"
),
menu
);
QMenu
*
submenu
=
new
QMenu
(
qtr
(
"Interface"
),
menu
);
QMenu
*
tools
=
ToolsMenu
(
submenu
);
QMenu
*
tools
=
ToolsMenu
(
submenu
);
submenu
->
addSeparator
();
submenu
->
addSeparator
();
...
...
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