[vlc-devel] commit: Qt4: check random button if random is set ( Rafaël Carré )

git version control git at videolan.org
Thu Dec 10 15:43:37 CET 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Thu Dec 10 15:43:13 2009 +0100| [3fdb41b6a07b0cbf2b8ca20b391a6ef158d884df] | committer: Rafaël Carré 

Qt4: check random button if random is set

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3fdb41b6a07b0cbf2b8ca20b391a6ef158d884df
---

 modules/gui/qt4/components/controller.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 1ca604b..88e41c2 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 ) );
         }




More information about the vlc-devel mailing list