From 8d57a8b8ba764b9a09ada35f7212fc2e9a2c1fbb Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Fri, 17 Oct 2008 09:52:56 +0200 Subject: [PATCH] [Qt] Fix the header menu popup when you have a header-state saved. --- modules/gui/qt4/components/playlist/standardpanel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp index e3ed5a6182..d0be2e9c8d 100644 --- a/modules/gui/qt4/components/playlist/standardpanel.cpp +++ b/modules/gui/qt4/components/playlist/standardpanel.cpp @@ -89,10 +89,10 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent, /* Configure the size of the header */ view->header()->resizeSection( 0, 200 ); 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(); /* Connections for the TreeView */ -- 2.20.1