From 3fdb41b6a07b0cbf2b8ca20b391a6ef158d884df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Thu, 10 Dec 2009 15:43:13 +0100 Subject: [PATCH 1/1] Qt4: check random button if random is set --- modules/gui/qt4/components/controller.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp index 1ca604b16c..88e41c2623 100644 --- a/modules/gui/qt4/components/controller.cpp +++ b/modules/gui/qt4/components/controller.cpp @@ -365,6 +365,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int options ) case RANDOM_BUTTON: { NORMAL_BUTTON( RANDOM ); RANDOMButton->setCheckable( true ); + RANDOMButton->setChecked( var_GetBool( THEPL, "random" ) ); CONNECT( THEMIM, randomChanged( bool ), RANDOMButton, setChecked( bool ) ); } -- 2.39.5