[vlc-devel] commit: [Qt] Fix the header menu popup when you have a header-state saved. (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Oct 17 09:53:33 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 17 09:52:56 2008 +0200| [8d57a8b8ba764b9a09ada35f7212fc2e9a2c1fbb] | committer: Jean-Baptiste Kempf 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8d57a8b8ba764b9a09ada35f7212fc2e9a2c1fbb
---

 .../gui/qt4/components/playlist/standardpanel.cpp  |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index e3ed5a6..d0be2e9 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 */




More information about the vlc-devel mailing list