Commit 2e16b1da authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: playlist look fixes

- setContentMargin is the same on all platforms
- color fixes on Linux
parent bcd6bf01
......@@ -47,11 +47,8 @@
PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
: QWidget( _par ), p_intf ( _p_i )
{
#ifndef Q_WS_MAC
setContentsMargins( 3, 3, 3, 3 );
#else
setContentsMargins( 0, 3, 0, 3 );
#endif
QGridLayout *layout = new QGridLayout( this );
......
......@@ -141,8 +141,8 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
/* select the first item */
// view->setCurrentIndex( model->index( 0, 0, QModelIndex() ) );
setAutoFillBackground( true );
#ifdef Q_WS_MAC
setAutoFillBackground( true );
QPalette palette;
palette.setColor( QPalette::Window, QColor(209,215,226) );
setPalette( palette );
......
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