QTfrontend/gameuiconfig.cpp
changeset 7153 f0d055645ab2
parent 6952 7f70f37bbf08
child 7235 baa69bd025d9
child 7313 162bc562335b
equal deleted inserted replaced
7150:fba3b14ff746 7153:f0d055645ab2
    65     Form->ui.pageOptions->SLQuality->setValue(value("video/quality", 5).toUInt());
    65     Form->ui.pageOptions->SLQuality->setValue(value("video/quality", 5).toUInt());
    66     Form->ui.pageOptions->CBStereoMode->setCurrentIndex(value("video/stereo", 0).toUInt());
    66     Form->ui.pageOptions->CBStereoMode->setCurrentIndex(value("video/stereo", 0).toUInt());
    67     Form->ui.pageOptions->CBFrontendEffects->setChecked(frontendEffects);
    67     Form->ui.pageOptions->CBFrontendEffects->setChecked(frontendEffects);
    68     Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool());
    68     Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool());
    69     Form->ui.pageOptions->CBEnableFrontendSound->setChecked(value("frontend/sound", true).toBool());
    69     Form->ui.pageOptions->CBEnableFrontendSound->setChecked(value("frontend/sound", true).toBool());
    70     Form->ui.pageOptions->CBEnableMusic->setChecked(value(" audio/music", true).toBool());
    70     Form->ui.pageOptions->CBEnableMusic->setChecked(value("audio/music", true).toBool());
    71     Form->ui.pageOptions->CBEnableFrontendMusic->setChecked(value("frontend/music", true).toBool());
    71     Form->ui.pageOptions->CBEnableFrontendMusic->setChecked(value("frontend/music", true).toBool());
    72     Form->ui.pageOptions->volumeBox->setValue(value("audio/volume", 100).toUInt());
    72     Form->ui.pageOptions->volumeBox->setValue(value("audio/volume", 100).toUInt());
    73 
    73 
    74     QString netNick = value("net/nick", "").toString();
    74     QString netNick = value("net/nick", "").toString();
    75     Form->ui.pageOptions->editNetNick->setText(netNick);
    75     Form->ui.pageOptions->editNetNick->setText(netNick);