Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
6e348973
Commit
6e348973
authored
Feb 01, 2012
by
Tobias Güntner
Committed by
Jean-Baptiste Kempf
Feb 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Leave minimal interface if Esc key was pressed
Close #5898 Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
5b877e45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+2
-1
No files found.
modules/gui/qt4/main_interface.cpp
View file @
6e348973
...
...
@@ -1289,7 +1289,8 @@ void MainInterface::keyPressEvent( QKeyEvent *e )
void
MainInterface
::
handleKeyPress
(
QKeyEvent
*
e
)
{
if
(
(
e
->
modifiers
()
&
Qt
::
ControlModifier
)
&&
(
e
->
key
()
==
Qt
::
Key_H
)
)
if
(
(
(
e
->
modifiers
()
&
Qt
::
ControlModifier
)
&&
(
e
->
key
()
==
Qt
::
Key_H
)
)
||
(
b_minimalView
&&
!
b_videoFullScreen
&&
e
->
key
()
==
Qt
::
Key_Escape
)
)
{
toggleMinimalView
(
!
b_minimalView
);
e
->
accept
();
...
...
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