QTfrontend/gameuiconfig.cpp
changeset 1235 070629f3902d
parent 1223 41d7283934c1
child 1487 b4cc59a6d50a
equal deleted inserted replaced
1234:1091e2f12751 1235:070629f3902d
    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());