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
828d8c8a
Commit
828d8c8a
authored
Jan 29, 2009
by
Jean-Philippe Andre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix video widget size
parent
243768e6
Changes
1
Hide 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 @
828d8c8a
...
@@ -567,6 +567,7 @@ QSize MainInterface::sizeHint() const
...
@@ -567,6 +567,7 @@ QSize MainInterface::sizeHint() const
int
nwidth
=
controls
->
sizeHint
().
width
();
int
nwidth
=
controls
->
sizeHint
().
width
();
int
nheight
=
controls
->
isVisible
()
?
int
nheight
=
controls
->
isVisible
()
?
controls
->
size
().
height
()
controls
->
size
().
height
()
+
inputC
->
size
().
height
()
+
menuBar
()
->
size
().
height
()
+
menuBar
()
->
size
().
height
()
+
statusBar
()
->
size
().
height
()
+
statusBar
()
->
size
().
height
()
:
0
;
:
0
;
...
@@ -635,7 +636,7 @@ private:
...
@@ -635,7 +636,7 @@ private:
/**
/**
* README
* README
* Thou shall not call/resize/hide widgets from on another thread.
* Thou shall not call/resize/hide widgets from on another thread.
* This is wrong, and this is T
EH
reason to emit signals on those Video Functions
* This is wrong, and this is T
HE
reason to emit signals on those Video Functions
**/
**/
void
*
MainInterface
::
requestVideo
(
vout_thread_t
*
p_nvout
,
int
*
pi_x
,
void
*
MainInterface
::
requestVideo
(
vout_thread_t
*
p_nvout
,
int
*
pi_x
,
int
*
pi_y
,
unsigned
int
*
pi_width
,
int
*
pi_y
,
unsigned
int
*
pi_width
,
...
...
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