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
7ab733f2
Commit
7ab733f2
authored
Feb 08, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix Menu->View->Fullscreen interface state.
parent
b505449c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+5
-0
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+2
-0
modules/gui/qt4/menus.hpp
modules/gui/qt4/menus.hpp
+1
-0
No files found.
modules/gui/qt4/main_interface.cpp
View file @
7ab733f2
...
...
@@ -1159,9 +1159,14 @@ void MainInterface::toggleFullScreen( void )
{
showNormal
();
emit
askUpdate
();
// Needed if video was launched after the F11
QVLCMenu
::
fullscreenViewAction
->
setChecked
(
false
);
}
else
{
showFullScreen
();
QVLCMenu
::
fullscreenViewAction
->
setChecked
(
true
);
}
}
/*****************************************************************************
...
...
modules/gui/qt4/menus.cpp
View file @
7ab733f2
...
...
@@ -76,6 +76,7 @@ static QActionGroup *currentGroup;
/* HACK for minimalView to go around a Qt bug/feature
* that doesn't update the QAction checked state when QMenu is hidden */
QAction
*
QVLCMenu
::
minimalViewAction
=
NULL
;
QAction
*
QVLCMenu
::
fullscreenViewAction
=
NULL
;
QMenu
*
QVLCMenu
::
recentsMenu
=
NULL
;
...
...
@@ -440,6 +441,7 @@ QMenu *QVLCMenu::ViewMenu( intf_thread_t *p_intf,
/* FullScreen View */
action
=
menu
->
addAction
(
qtr
(
"&Fullscreen Interface"
),
mi
,
SLOT
(
toggleFullScreen
()
),
QString
(
"F11"
)
);
fullscreenViewAction
=
action
;
action
->
setCheckable
(
true
);
action
->
setData
(
true
);
...
...
modules/gui/qt4/menus.hpp
View file @
7ab733f2
...
...
@@ -96,6 +96,7 @@ public:
/* HACK for minimalView */
static
QAction
*
minimalViewAction
;
static
QAction
*
fullscreenViewAction
;
private:
/* All main Menus */
...
...
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