Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
b1a76ac6
Commit
b1a76ac6
authored
Dec 16, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Hide the grey rectangle on the top of the interface, try to fix the zoom reiszing
parent
3b1feabd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-0
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+5
-5
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
b1a76ac6
...
...
@@ -107,6 +107,7 @@ void *VideoWidget::request( vout_thread_t *p_nvout, int *pi_x, int *pi_y,
/* Set the Widget to the correct Size */
void
VideoWidget
::
SetSizing
(
unsigned
int
w
,
unsigned
int
h
)
{
widgetSize
=
QSize
(
w
,
h
);
resize
(
w
,
h
);
//updateGeometry(); // Needed for deinterlace
msg_Dbg
(
p_intf
,
"%i %i"
,
sizeHint
().
height
(),
sizeHint
().
width
()
);
...
...
modules/gui/qt4/main_interface.cpp
View file @
b1a76ac6
...
...
@@ -135,6 +135,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
dockPL
->
setAllowedAreas
(
Qt
::
LeftDockWidgetArea
|
Qt
::
RightDockWidgetArea
|
Qt
::
BottomDockWidgetArea
);
dockPL
->
hide
();
/************
* Menu Bar
...
...
@@ -622,10 +623,9 @@ void *MainInterface::requestVideo( vout_thread_t *p_nvout, int *pi_x,
/* videoWidget->widgetSize = QSize( *pi_width, *pi_height );
}*/
videoWidget
->
widgetSize
=
QSize
(
*
pi_width
,
*
pi_height
);
emit
askVideoToResize
(
*
pi_width
,
*
pi_height
);
videoIsActive
=
true
;
emit
askVideoToResize
(
*
pi_width
,
*
pi_height
);
emit
askUpdate
();
}
return
ret
;
...
...
@@ -666,8 +666,8 @@ int MainInterface::controlVideo( void *p_window, int i_query, va_list args )
{
unsigned
int
i_width
=
va_arg
(
args
,
unsigned
int
);
unsigned
int
i_height
=
va_arg
(
args
,
unsigned
int
);
videoWidget
->
widgetSize
=
QS
ize
(
i_width
,
i_height
);
videoWidget
->
updateGeometry
();
emit
askVideoToRes
ize
(
i_width
,
i_height
);
emit
askUpdate
();
updateGeometry
();
i_ret
=
VLC_SUCCESS
;
break
;
...
...
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