Commit c6b0458c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Cosmetic: don't access the same configuration item twice.

parent 84091c66
...@@ -383,16 +383,16 @@ void MainInterface::handleMainUi( QSettings *settings ) ...@@ -383,16 +383,16 @@ void MainInterface::handleMainUi( QSettings *settings )
mainLayout->setMargin( 0 ); mainLayout->setMargin( 0 );
/* Create the CONTROLS Widget */ /* Create the CONTROLS Widget */
/* bool b_shiny = config_GetInt( p_intf, "qt-blingbling" ); */ bool b_shiny = config_GetInt( p_intf, "qt-blingbling" );
controls = new ControlsWidget( p_intf, this, controls = new ControlsWidget( p_intf, this,
settings->value( "adv-controls", false ).toBool(), settings->value( "adv-controls", false ).toBool(),
config_GetInt( p_intf, "qt-blingbling" ) ); b_shiny );
/* Create the FULLSCREEN CONTROLS Widget */ /* Create the FULLSCREEN CONTROLS Widget */
/* bool b_shiny = config_GetInt( p_intf, "qt-blingbling" ); */ /* bool b_shiny = config_GetInt( p_intf, "qt-blingbling" ); */
fullscreenControls = new FullscreenControllerWidget( p_intf, this, fullscreenControls = new FullscreenControllerWidget( p_intf, this,
settings->value( "adv-controls", false ).toBool(), settings->value( "adv-controls", false ).toBool(),
config_GetInt( p_intf, "qt-blingbling" ) ); b_shiny );
/* Add the controls Widget to the main Widget */ /* Add the controls Widget to the main Widget */
mainLayout->insertWidget( 0, controls, 0, Qt::AlignBottom ); mainLayout->insertWidget( 0, controls, 0, Qt::AlignBottom );
......
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