Commit 16d5fb23 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Use same type of button in order to not kill the eyes, if you run...

Qt4 - Use same type of button in order to not kill the eyes, if you run Plastique or Oxygen. KDE inside :D

parent a2731364
......@@ -93,7 +93,7 @@ OpenDialog::OpenDialog( QWidget *parent,
buttonSizePolicy.setVerticalStretch( 0 );
/* Play Button */
playButton = new QToolButton( this );
playButton = new QToolButton;
playButton->setText( qtr( "&Play" ) );
playButton->setSizePolicy( buttonSizePolicy );
playButton->setMinimumSize( QSize( 90, 0 ) );
......@@ -101,12 +101,12 @@ OpenDialog::OpenDialog( QWidget *parent,
playButton->setToolButtonStyle( Qt::ToolButtonTextOnly );
/* Cancel Button */
cancelButton = new QPushButton();
cancelButton = new QToolButton;
cancelButton->setText( qtr( "&Cancel" ) );
cancelButton->setSizePolicy( buttonSizePolicy );
/* Select Button */
selectButton = new QPushButton;
selectButton = new QToolButton;
selectButton->setText( qtr( "Select" ) );
selectButton->setSizePolicy( buttonSizePolicy );
......
......@@ -79,7 +79,7 @@ private:
int i_action_flag;
QStringList SeparateEntries( QString );
QPushButton *cancelButton, *selectButton;
QToolButton *cancelButton, *selectButton;
QToolButton *playButton;
void finish( bool );
......
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