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
a2314241
Commit
a2314241
authored
Jun 20, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: do not block the video preview to a very small size in the playlist
parent
152693ff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+0
-2
modules/gui/qt4/components/playlist/playlist.cpp
modules/gui/qt4/components/playlist/playlist.cpp
+1
-1
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
a2314241
...
@@ -511,11 +511,9 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i )
...
@@ -511,11 +511,9 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i )
setMinimumHeight
(
128
);
setMinimumHeight
(
128
);
setMinimumWidth
(
128
);
setMinimumWidth
(
128
);
setMaximumHeight
(
128
);
setScaledContents
(
false
);
setScaledContents
(
false
);
setAlignment
(
Qt
::
AlignCenter
);
setAlignment
(
Qt
::
AlignCenter
);
QList
<
QAction
*
>
artActions
=
actions
();
QAction
*
action
=
new
QAction
(
qtr
(
"Download cover art"
),
this
);
QAction
*
action
=
new
QAction
(
qtr
(
"Download cover art"
),
this
);
CONNECT
(
action
,
triggered
(),
this
,
askForUpdate
()
);
CONNECT
(
action
,
triggered
(),
this
,
askForUpdate
()
);
addAction
(
action
);
addAction
(
action
);
...
...
modules/gui/qt4/components/playlist/playlist.cpp
View file @
a2314241
...
@@ -69,7 +69,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
...
@@ -69,7 +69,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
/* Create a Container for the Art Label
/* Create a Container for the Art Label
in order to have a beautiful resizing for the selector above it */
in order to have a beautiful resizing for the selector above it */
artContainer
=
new
QStackedWidget
;
artContainer
=
new
QStackedWidget
;
artContainer
->
setMaximumHeight
(
128
);
artContainer
->
setMaximumHeight
(
256
);
/* Art label */
/* Art label */
CoverArtLabel
*
art
=
new
CoverArtLabel
(
artContainer
,
p_intf
);
CoverArtLabel
*
art
=
new
CoverArtLabel
(
artContainer
,
p_intf
);
...
...
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