Commit a2314241 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: do not block the video preview to a very small size in the playlist

parent 152693ff
......@@ -511,11 +511,9 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i )
setMinimumHeight( 128 );
setMinimumWidth( 128 );
setMaximumHeight( 128 );
setScaledContents( false );
setAlignment( Qt::AlignCenter );
QList< QAction* > artActions = actions();
QAction *action = new QAction( qtr( "Download cover art" ), this );
CONNECT( action, triggered(), this, askForUpdate() );
addAction( action );
......
......@@ -69,7 +69,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
/* Create a Container for the Art Label
in order to have a beautiful resizing for the selector above it */
artContainer = new QStackedWidget;
artContainer->setMaximumHeight( 128 );
artContainer->setMaximumHeight( 256 );
/* Art label */
CoverArtLabel *art = new CoverArtLabel( artContainer, p_intf );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment