equal
deleted
inserted
replaced
25 #include <QLineEdit> |
25 #include <QLineEdit> |
26 #include <QLabel> |
26 #include <QLabel> |
27 #include <QRadioButton> |
27 #include <QRadioButton> |
28 #include <QSpinBox> |
28 #include <QSpinBox> |
29 #include <QCloseEvent> |
29 #include <QCloseEvent> |
|
30 #include <QCheckBox> |
30 |
31 |
31 #include "hwform.h" |
32 #include "hwform.h" |
32 #include "game.h" |
33 #include "game.h" |
33 #include "team.h" |
34 #include "team.h" |
34 #include "teamselect.h" |
35 #include "teamselect.h" |
129 this, SLOT(UpdateWeapons())); // executed second |
130 this, SLOT(UpdateWeapons())); // executed second |
130 connect(ui.pageSelectWeapon->pWeapons, SIGNAL(weaponsDeleted()), |
131 connect(ui.pageSelectWeapon->pWeapons, SIGNAL(weaponsDeleted()), |
131 this, SLOT(GoBack())); // executed third |
132 this, SLOT(GoBack())); // executed third |
132 |
133 |
133 GoToPage(ID_PAGE_MAIN); |
134 GoToPage(ID_PAGE_MAIN); |
134 |
|
135 sdli.StartMusic(); |
|
136 } |
135 } |
137 |
136 |
138 void HWForm::onFrontendFullscreen(bool value) |
137 void HWForm::onFrontendFullscreen(bool value) |
139 { |
138 { |
140 if (value) |
139 if (value) |
686 void HWForm::closeEvent(QCloseEvent *event) |
685 void HWForm::closeEvent(QCloseEvent *event) |
687 { |
686 { |
688 config->SaveOptions(); |
687 config->SaveOptions(); |
689 event->accept(); |
688 event->accept(); |
690 } |
689 } |
|
690 |
|
691 void HWForm::Music(bool checked) |
|
692 { |
|
693 if (checked) |
|
694 sdli.StartMusic(); |
|
695 else |
|
696 sdli.StopMusic(); |
|
697 } |