Commit 7ff9d563 authored by Pierre Lamot's avatar Pierre Lamot Committed by Jean-Baptiste Kempf

qt: avoid location bar overlapping with search widgets

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4273ef6f
......@@ -96,18 +96,17 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
mainView = new StandardPLPanel( this, p_intf, p_root, selector, model );
QHBoxLayout *topbarLayout = new QHBoxLayout();
topbarLayout->setSpacing( 10 );
layout->addLayout( topbarLayout, 0, 0 );
/* Location Bar */
locationBar = new LocationBar( model );
locationBar->setSizePolicy( QSizePolicy::Ignored, QSizePolicy::Preferred );
layout->addWidget( locationBar, 0, 0, 1, 2 );
layout->setColumnStretch( 0, 5 );
topbarLayout->addWidget( locationBar );
CONNECT( locationBar, invoked( const QModelIndex & ),
mainView, browseInto( const QModelIndex & ) );
QHBoxLayout *topbarLayout = new QHBoxLayout();
layout->addLayout( topbarLayout, 0, 1 );
topbarLayout->setSpacing( 10 );
/* Button to switch views */
QToolButton *viewButton = new QToolButton( this );
viewButton->setIcon( style()->standardIcon( QStyle::SP_FileDialogDetailedView ) );
......
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