Commit 86e411e4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

parent c126d695
...@@ -98,7 +98,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent, ...@@ -98,7 +98,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
layout->addWidget( addButton, 0, 3 ); layout->addWidget( addButton, 0, 3 );
/* Button to switch views */ /* Button to switch views */
QPushButton *viewButton = new QPushButton( this ); QToolButton *viewButton = new QToolButton( this );
viewButton->setIcon( style()->standardIcon( QStyle::SP_FileDialogContentsView ) ); viewButton->setIcon( style()->standardIcon( QStyle::SP_FileDialogContentsView ) );
layout->addWidget( viewButton, 0, 2 ); layout->addWidget( viewButton, 0, 2 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment