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
27166c04
Commit
27166c04
authored
Oct 08, 2007
by
Rafaël Carré
Browse files
Checks if the videoWidget exist before resizing it, fix #1328
parent
e3206fdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/main_interface.cpp
View file @
27166c04
...
...
@@ -385,7 +385,8 @@ void MainInterface::calculateInterfaceSize()
void
MainInterface
::
resizeEvent
(
QResizeEvent
*
e
)
{
videoWidget
->
widgetSize
.
setWidth
(
e
->
size
().
width
()
-
addSize
.
width
()
);
if
(
videoWidget
)
videoWidget
->
widgetSize
.
setWidth
(
e
->
size
().
width
()
-
addSize
.
width
()
);
if
(
videoWidget
&&
videoIsActive
&&
videoWidget
->
widgetSize
.
height
()
>
1
)
{
SET_WH
(
videoWidget
,
e
->
size
().
width
()
-
addSize
.
width
(),
...
...
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