--- 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 <QRadioButton>
#include <QSpinBox>
#include <QCloseEvent>
+#include <QCheckBox>
#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();
+}