[vlc-devel] commit: Qt: Use a ToolButton instead of a PushButton for view selection ( Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Jan 29 01:43:19 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 29 01:22:51 2010 +0100| [86e411e4bfbb5a93509d8b439ff32cf3f2943836] | committer: Jean-Baptiste Kempf 

Qt: Use a ToolButton instead of a PushButton for view selection

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

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

diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index e69eedf..87180eb 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -98,7 +98,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
     layout->addWidget( addButton, 0, 3 );
 
     /* Button to switch views */
-    QPushButton *viewButton = new QPushButton( this );
+    QToolButton *viewButton = new QToolButton( this );
     viewButton->setIcon( style()->standardIcon( QStyle::SP_FileDialogContentsView ) );
     layout->addWidget( viewButton, 0, 2 );
 




More information about the vlc-devel mailing list