Commit 44464f27 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Fix native/non-native state of button.

parent f076b18a
......@@ -58,7 +58,6 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
flatBox = new QCheckBox( qtr( "Flat Button" ) );
bigBox = new QCheckBox( qtr( "Big Button" ) );
shinyBox = new QCheckBox( qtr( "Native Slider" ) );
shinyBox->setChecked( true );
boxLayout->addWidget( new WidgetListing( p_intf, this ), 0, 0, 1, -1);
boxLayout->addWidget( flatBox, 1, 0 );
......
......@@ -60,7 +60,7 @@ public:
virtual ~ToolbarEditDialog();
int getOptions() { return flatBox->isChecked() * WIDGET_FLAT +
bigBox->isChecked() * WIDGET_BIG +
shinyBox->isChecked() * WIDGET_SHINY; }
!shinyBox->isChecked() * WIDGET_SHINY; }
private:
ToolbarEditDialog( intf_thread_t * );
static ToolbarEditDialog *instance;
......
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