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
66b3569c
Commit
66b3569c
authored
Apr 23, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix an annoying resizing issue.
That was resizing when video was stacked in the playlist
parent
86e63657
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+7
-1
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/main_interface.hpp
+1
-0
No files found.
modules/gui/qt4/main_interface.cpp
View file @
66b3569c
...
...
@@ -210,7 +210,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
CONNECT
(
this
,
askVideoToResize
(
unsigned
int
,
unsigned
int
),
this
,
setVideoSize
(
unsigned
int
,
unsigned
int
)
);
CONNECT
(
videoWidget
,
sizeChanged
(
int
,
int
),
this
,
resizeStack
(
int
,
int
)
);
this
,
videoSizeChanged
(
int
,
int
)
);
}
CONNECT
(
this
,
askVideoSetFullScreen
(
bool
),
this
,
setVideoFullScreen
(
bool
)
);
...
...
@@ -683,6 +683,12 @@ void MainInterface::setVideoSize( unsigned int w, unsigned int h )
videoWidget
->
SetSizing
(
w
,
h
);
}
void
MainInterface
::
videoSizeChanged
(
int
w
,
int
h
)
{
if
(
!
playlistWidget
||
playlistWidget
->
artContainer
->
currentWidget
()
!=
videoWidget
)
resizeStack
(
w
,
h
);
}
void
MainInterface
::
setVideoFullScreen
(
bool
fs
)
{
b_videoFullScreen
=
fs
;
...
...
modules/gui/qt4/main_interface.hpp
View file @
66b3569c
...
...
@@ -238,6 +238,7 @@ private slots:
}
void
setVideoSize
(
unsigned
int
,
unsigned
int
);
void
videoSizeChanged
(
int
,
int
);
void
setVideoFullScreen
(
bool
);
void
setVideoOnTop
(
bool
);
void
setBoss
();
...
...
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