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
86de3606
Commit
86de3606
authored
Feb 28, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use !isVisible when needed ISO isHidden
parent
64a460aa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+1
-1
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
86de3606
...
@@ -127,7 +127,7 @@ void VideoWidget::SetSizing( unsigned int w, unsigned int h )
...
@@ -127,7 +127,7 @@ void VideoWidget::SetSizing( unsigned int w, unsigned int h )
msg_Dbg
(
p_intf
,
"Video is resizing to: %i %i"
,
w
,
h
);
msg_Dbg
(
p_intf
,
"Video is resizing to: %i %i"
,
w
,
h
);
videoSize
.
rwidth
()
=
w
;
videoSize
.
rwidth
()
=
w
;
videoSize
.
rheight
()
=
h
;
videoSize
.
rheight
()
=
h
;
if
(
isHidden
()
)
show
();
if
(
!
isVisible
()
)
show
();
updateGeometry
();
// Needed for deinterlace
updateGeometry
();
// Needed for deinterlace
}
}
...
...
modules/gui/qt4/main_interface.cpp
View file @
86de3606
...
@@ -1129,7 +1129,7 @@ void MainInterface::customEvent( QEvent *event )
...
@@ -1129,7 +1129,7 @@ void MainInterface::customEvent( QEvent *event )
void
MainInterface
::
keyPressEvent
(
QKeyEvent
*
e
)
void
MainInterface
::
keyPressEvent
(
QKeyEvent
*
e
)
{
{
if
(
(
e
->
modifiers
()
&
Qt
::
ControlModifier
)
&&
(
e
->
key
()
==
Qt
::
Key_H
)
if
(
(
e
->
modifiers
()
&
Qt
::
ControlModifier
)
&&
(
e
->
key
()
==
Qt
::
Key_H
)
&&
menuBar
()
->
isHidden
()
)
&&
!
menuBar
()
->
isVisible
()
)
{
{
toggleMinimalView
(
false
);
toggleMinimalView
(
false
);
e
->
accept
();
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