Commit 4f3aa8b0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

[Qt] Fix the header menu popup when you have a header-state saved.

(cherry picked from commit 8d57a8b8)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ec1e8087
...@@ -89,10 +89,10 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent, ...@@ -89,10 +89,10 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
/* Configure the size of the header */ /* Configure the size of the header */
view->header()->resizeSection( 0, 200 ); view->header()->resizeSection( 0, 200 );
view->header()->resizeSection( 1, 80 ); view->header()->resizeSection( 1, 80 );
view->header()->setSortIndicatorShown( true );
view->header()->setClickable( true );
view->header()->setContextMenuPolicy( Qt::CustomContextMenu );
} }
view->header()->setSortIndicatorShown( true );
view->header()->setClickable( true );
view->header()->setContextMenuPolicy( Qt::CustomContextMenu );
getSettings()->endGroup(); getSettings()->endGroup();
/* Connections for the TreeView */ /* Connections for the TreeView */
......
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