From: Jean-Baptiste Kempf Date: Fri, 17 Oct 2008 07:52:56 +0000 (+0200) Subject: [Qt] Fix the header menu popup when you have a header-state saved. X-Git-Tag: 1.0.0-pre1~2437 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8d57a8b8ba764b9a09ada35f7212fc2e9a2c1fbb;p=vlc [Qt] Fix the header menu popup when you have a header-state saved. --- 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 */