Commit a5c08fda authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix simple volume alignment

parent f11dc4f6
......@@ -62,6 +62,9 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
{
volumeMenu = NULL; subLayout = NULL;
volumeControlWidget = NULL;
/* And add the label */
layout->addWidget( volMuteLabel, 0, Qt::AlignBottom );
}
else
{
......@@ -76,10 +79,10 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
QWidgetAction *widgetAction = new QWidgetAction( volumeControlWidget );
widgetAction->setDefaultWidget( volumeControlWidget );
volumeMenu->addAction( widgetAction );
}
/* And add the label */
layout->addWidget( volMuteLabel, 0, Qt::AlignBottom );
/* And add the label */
layout->addWidget( volMuteLabel );
}
/* Slider creation: shiny or clean */
if( b_shiny )
......
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