]> git.sesse.net Git - vlc/commitdiff
Qt: Use a ToolButton instead of a PushButton for view selection
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 29 Jan 2010 00:22:51 +0000 (01:22 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 29 Jan 2010 00:43:21 +0000 (01:43 +0100)
modules/gui/qt4/components/playlist/standardpanel.cpp

index e69eedfaad043220dd83651814ae75c31bdf47ef..87180ebef22a50e111cca65b5e88831f477b0521 100644 (file)
@@ -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 );