From: Jean-Baptiste Kempf Date: Sat, 26 Jul 2008 05:32:00 +0000 (-0700) Subject: Cosmetic: don't access the same configuration item twice. X-Git-Tag: 0.9.0-test3~251 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c6b0458c5df9d07d8342498bca173563b465dc79;p=vlc Cosmetic: don't access the same configuration item twice. --- diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index 16f79f5247..a7dcbf0c6c 100644 --- a/modules/gui/qt4/main_interface.cpp +++ b/modules/gui/qt4/main_interface.cpp @@ -383,16 +383,16 @@ void MainInterface::handleMainUi( QSettings *settings ) mainLayout->setMargin( 0 ); /* 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, settings->value( "adv-controls", false ).toBool(), - config_GetInt( p_intf, "qt-blingbling" ) ); + b_shiny ); /* Create the FULLSCREEN CONTROLS Widget */ /* bool b_shiny = config_GetInt( p_intf, "qt-blingbling" ); */ fullscreenControls = new FullscreenControllerWidget( p_intf, this, settings->value( "adv-controls", false ).toBool(), - config_GetInt( p_intf, "qt-blingbling" ) ); + b_shiny ); /* Add the controls Widget to the main Widget */ mainLayout->insertWidget( 0, controls, 0, Qt::AlignBottom );