diff -r 1091e2f12751 -r 070629f3902d QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Mon Aug 25 18:30:06 2008 +0000 +++ b/QTfrontend/hwform.cpp Fri Aug 29 19:40:37 2008 +0000 @@ -27,6 +27,7 @@ #include #include #include +#include #include "hwform.h" #include "game.h" @@ -131,8 +132,6 @@ this, SLOT(GoBack())); // executed third GoToPage(ID_PAGE_MAIN); - - sdli.StartMusic(); } void HWForm::onFrontendFullscreen(bool value) @@ -688,3 +687,11 @@ config->SaveOptions(); event->accept(); } + +void HWForm::Music(bool checked) +{ + if (checked) + sdli.StartMusic(); + else + sdli.StopMusic(); +}