43 Form->ui.pageOptions->CBFullscreen->setChecked(value("video/fullscreen", false).toBool()); |
43 Form->ui.pageOptions->CBFullscreen->setChecked(value("video/fullscreen", false).toBool()); |
44 bool ffscr=value("video/frontendfullscreen", false).toBool(); |
44 bool ffscr=value("video/frontendfullscreen", false).toBool(); |
45 Form->ui.pageOptions->CBFrontendFullscreen->setChecked(ffscr); |
45 Form->ui.pageOptions->CBFrontendFullscreen->setChecked(ffscr); |
46 |
46 |
47 Form->ui.pageOptions->CBReduceQuality->setChecked(value("video/reducequality", false).toBool()); |
47 Form->ui.pageOptions->CBReduceQuality->setChecked(value("video/reducequality", false).toBool()); |
48 Form->ui.pageOptions->CBFrontendEffects->setChecked(value("video/frontendeffects", true).toBool()); |
48 Form->ui.pageOptions->CBFrontendEffects->setChecked(frontendEffects); |
49 Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool()); |
49 Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool()); |
50 Form->ui.pageOptions->CBEnableMusic->setChecked(value("audio/music", true).toBool()); |
50 Form->ui.pageOptions->CBEnableMusic->setChecked(value("audio/music", true).toBool()); |
51 Form->ui.pageOptions->volumeBox->setValue(value("audio/volume", 100).toUInt()); |
51 Form->ui.pageOptions->volumeBox->setValue(value("audio/volume", 100).toUInt()); |
52 |
52 |
53 Form->ui.pageOptions->editNetNick->setText(value("net/nick", QLineEdit::tr("unnamed")).toString()); |
53 Form->ui.pageOptions->editNetNick->setText(value("net/nick", QLineEdit::tr("unnamed")).toString()); |