QTfrontend/gameuiconfig.cpp
changeset 6583 4218782d8ca0
parent 5390 f41e87de8989
child 6616 f77bb02b669f
equal deleted inserted replaced
6582:d32b5fde9ea6 6583:4218782d8ca0
    59     Form->ui.pageOptions->SLQuality->setValue(value("video/quality", 5).toUInt());
    59     Form->ui.pageOptions->SLQuality->setValue(value("video/quality", 5).toUInt());
    60     Form->ui.pageOptions->CBStereoMode->setCurrentIndex(value("video/stereo", 0).toUInt());
    60     Form->ui.pageOptions->CBStereoMode->setCurrentIndex(value("video/stereo", 0).toUInt());
    61     Form->ui.pageOptions->CBFrontendEffects->setChecked(frontendEffects);
    61     Form->ui.pageOptions->CBFrontendEffects->setChecked(frontendEffects);
    62     Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool());
    62     Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool());
    63     Form->ui.pageOptions->CBEnableFrontendSound->setChecked(value("frontend/sound", true).toBool());
    63     Form->ui.pageOptions->CBEnableFrontendSound->setChecked(value("frontend/sound", true).toBool());
    64     Form->ui.pageOptions->CBEnableMusic->setChecked(value("audio/music", true).toBool());
    64     Form->ui.pageOptions->CBEnableMusic->setChecked(value(" audio/music", true).toBool());
    65     Form->ui.pageOptions->CBEnableFrontendMusic->setChecked(value("frontend/music", true).toBool());
    65     Form->ui.pageOptions->CBEnableFrontendMusic->setChecked(value("frontend/music", true).toBool());
    66     Form->ui.pageOptions->volumeBox->setValue(value("audio/volume", 100).toUInt());
    66     Form->ui.pageOptions->volumeBox->setValue(value("audio/volume", 100).toUInt());
    67 
    67 
    68     QString netNick = value("net/nick", "").toString();
    68     QString netNick = value("net/nick", "").toString();
    69     Form->ui.pageOptions->editNetNick->setText(netNick);
    69     Form->ui.pageOptions->editNetNick->setText(netNick);