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
84c9ebfe
Commit
84c9ebfe
authored
Aug 11, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remember to check MI when you use it in menus.cpp that can be called by skins.
Close #1846
parent
77e50bbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
12 deletions
+19
-12
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+19
-12
No files found.
modules/gui/qt4/menus.cpp
View file @
84c9ebfe
...
...
@@ -371,6 +371,7 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf,
}
if
(
mi
)
{
msg_Dbg
(
p_intf
,
"I am here"
);
/* Minimal View */
QAction
*
action
=
menu
->
addAction
(
qtr
(
"Mi&nimal View..."
),
mi
,
SLOT
(
toggleMinimalView
()
),
qtr
(
"Ctrl+H"
)
);
...
...
@@ -837,20 +838,26 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
if
(
!
b_isFullscreen
)
{
submenu
=
new
QMenu
(
qtr
(
"Interface"
),
menu
);
submenu
->
addAction
(
QIcon
(
":/playlist"
),
qtr
(
"Show Playlist"
),
mi
,
SLOT
(
togglePlaylist
()
)
);
if
(
mi
)
{
submenu
->
addAction
(
QIcon
(
":/playlist"
),
qtr
(
"Show Playlist"
),
mi
,
SLOT
(
togglePlaylist
()
)
);
}
addDPStaticEntry
(
submenu
,
qtr
(
I_MENU_EXT
),
""
,
":/settings"
,
SLOT
(
extendedDialog
()
)
);
action
=
submenu
->
addAction
(
QIcon
(
""
),
qtr
(
"Minimal View..."
),
mi
,
SLOT
(
toggleMinimalView
()
)
);
action
->
setCheckable
(
true
);
action
->
setChecked
(
!
(
mi
->
getControlsVisibilityStatus
()
&
CONTROLS_VISIBLE
)
);
action
=
submenu
->
addAction
(
QIcon
(
""
),
qtr
(
"Toggle Fullscreen Interface"
),
mi
,
SLOT
(
toggleFullScreen
()
)
);
action
->
setCheckable
(
true
);
action
->
setChecked
(
mi
->
isFullScreen
()
);
if
(
mi
)
{
action
=
submenu
->
addAction
(
QIcon
(
""
),
qtr
(
"Minimal View..."
),
mi
,
SLOT
(
toggleMinimalView
()
)
);
action
->
setCheckable
(
true
);
action
->
setChecked
(
!
(
mi
->
getControlsVisibilityStatus
()
&
CONTROLS_VISIBLE
)
);
action
=
submenu
->
addAction
(
QIcon
(
""
),
qtr
(
"Toggle Fullscreen Interface"
),
mi
,
SLOT
(
toggleFullScreen
()
)
);
action
->
setCheckable
(
true
);
action
->
setChecked
(
mi
->
isFullScreen
()
);
}
menu
->
addMenu
(
submenu
);
}
...
...
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