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
146ad882
Commit
146ad882
authored
Oct 23, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: cosmetic rename
parent
bf294ee5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-1
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/interface_widgets.hpp
+1
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+2
-2
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
146ad882
...
@@ -160,7 +160,7 @@ WId VideoWidget::request( struct vout_window_t *p_wnd, unsigned int *pi_width,
...
@@ -160,7 +160,7 @@ WId VideoWidget::request( struct vout_window_t *p_wnd, unsigned int *pi_width,
/* Set the Widget to the correct Size */
/* Set the Widget to the correct Size */
/* Function has to be called by the parent
/* Function has to be called by the parent
Parent has to care about resizing itself */
Parent has to care about resizing itself */
void
VideoWidget
::
SetSizing
(
unsigned
int
w
,
unsigned
int
h
)
void
VideoWidget
::
setSize
(
unsigned
int
w
,
unsigned
int
h
)
{
{
resize
(
w
,
h
);
resize
(
w
,
h
);
emit
sizeChanged
(
w
,
h
);
emit
sizeChanged
(
w
,
h
);
...
...
modules/gui/qt4/components/interface_widgets.hpp
View file @
146ad882
...
@@ -81,7 +81,7 @@ signals:
...
@@ -81,7 +81,7 @@ signals:
void
sizeChanged
(
int
,
int
);
void
sizeChanged
(
int
,
int
);
public
slots
:
public
slots
:
void
SetSizing
(
unsigned
int
,
unsigned
int
);
void
setSize
(
unsigned
int
,
unsigned
int
);
};
};
/******************** Background Widget ****************/
/******************** Background Widget ****************/
...
...
modules/gui/qt4/main_interface.cpp
View file @
146ad882
...
@@ -734,7 +734,7 @@ void MainInterface::getVideoSlot( WId *p_id, struct vout_window_t *p_wnd,
...
@@ -734,7 +734,7 @@ void MainInterface::getVideoSlot( WId *p_id, struct vout_window_t *p_wnd,
/* Ask videoWidget to resize correctly, if we are in normal mode */
/* Ask videoWidget to resize correctly, if we are in normal mode */
if
(
!
isFullScreen
()
&&
!
isMaximized
()
&&
b_autoresize
)
if
(
!
isFullScreen
()
&&
!
isMaximized
()
&&
b_autoresize
)
videoWidget
->
SetSizing
(
*
pi_width
,
*
pi_height
);
videoWidget
->
setSize
(
*
pi_width
,
*
pi_height
);
}
}
}
}
...
@@ -772,7 +772,7 @@ void MainInterface::releaseVideoSlot( void )
...
@@ -772,7 +772,7 @@ void MainInterface::releaseVideoSlot( void )
void
MainInterface
::
setVideoSize
(
unsigned
int
w
,
unsigned
int
h
)
void
MainInterface
::
setVideoSize
(
unsigned
int
w
,
unsigned
int
h
)
{
{
if
(
!
isFullScreen
()
&&
!
isMaximized
()
)
if
(
!
isFullScreen
()
&&
!
isMaximized
()
)
videoWidget
->
SetSizing
(
w
,
h
);
videoWidget
->
setSize
(
w
,
h
);
}
}
void
MainInterface
::
videoSizeChanged
(
int
w
,
int
h
)
void
MainInterface
::
videoSizeChanged
(
int
w
,
int
h
)
...
...
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