equal
deleted
inserted
replaced
30 |
30 |
31 GameUIConfig::GameUIConfig(HWForm * FormWidgets, const QString & fileName) |
31 GameUIConfig::GameUIConfig(HWForm * FormWidgets, const QString & fileName) |
32 : QSettings(fileName, QSettings::IniFormat) |
32 : QSettings(fileName, QSettings::IniFormat) |
33 { |
33 { |
34 Form = FormWidgets; |
34 Form = FormWidgets; |
|
35 |
|
36 connect(Form->ui.pageOptions->CBEnableMusic, SIGNAL(toggled(bool)), Form, SLOT(Music(bool))); |
35 |
37 |
36 //Form->resize(value("window/width", 640).toUInt(), value("window/height", 450).toUInt()); |
38 //Form->resize(value("window/width", 640).toUInt(), value("window/height", 450).toUInt()); |
37 resizeToConfigValues(); |
39 resizeToConfigValues(); |
38 |
40 |
39 int t = Form->ui.pageOptions->CBResolution->findText(value("video/resolution").toString()); |
41 int t = Form->ui.pageOptions->CBResolution->findText(value("video/resolution").toString()); |