Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
c3bea09c
Commit
c3bea09c
authored
Feb 08, 2009
by
Jean-Baptiste Kempf
Browse files
Qt: Fix minimalView state in menus.
parent
7ab733f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/main_interface.cpp
View file @
c3bea09c
...
...
@@ -781,9 +781,6 @@ void MainInterface::dockPlaylist( pl_dock_e i_pos )
void
MainInterface
::
toggleMinimalView
()
{
/* HACK for minimalView, see menus.cpp */
if
(
!
menuBar
()
->
isVisible
()
)
QVLCMenu
::
minimalViewAction
->
toggle
();
if
(
i_visualmode
!=
QT_ALWAYS_VIDEO_MODE
&&
i_visualmode
!=
QT_MINIMAL_MODE
)
{
/* NORMAL MODE then */
...
...
@@ -800,6 +797,8 @@ void MainInterface::toggleMinimalView()
TOGGLEV
(
statusBar
()
);
TOGGLEV
(
inputC
);
doComponentsUpdate
();
QVLCMenu
::
minimalViewAction
->
setChecked
(
bgWasVisible
);
}
/* Video widget cannot do this synchronously as it runs in another thread */
...
...
modules/gui/qt4/menus.cpp
View file @
c3bea09c
...
...
@@ -899,7 +899,7 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
action
->
setChecked
(
!
(
mi
->
getControlsVisibilityStatus
()
&
CONTROLS_VISIBLE
)
);
action
=
submenu
->
addAction
(
QIcon
(
""
),
qtr
(
"
Toggle
Fullscreen Interface"
),
qtr
(
"Fullscreen Interface"
),
mi
,
SLOT
(
toggleFullScreen
()
)
);
action
->
setCheckable
(
true
);
action
->
setChecked
(
mi
->
isFullScreen
()
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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