equal
deleted
inserted
replaced
110 Form->ui.pageOptions->CBFrontendSound->setChecked(value("frontend/sound", true).toBool()); |
110 Form->ui.pageOptions->CBFrontendSound->setChecked(value("frontend/sound", true).toBool()); |
111 Form->ui.pageOptions->CBMusic->setChecked(value("audio/music", true).toBool()); |
111 Form->ui.pageOptions->CBMusic->setChecked(value("audio/music", true).toBool()); |
112 Form->ui.pageOptions->CBFrontendMusic->setChecked(value("frontend/music", true).toBool()); |
112 Form->ui.pageOptions->CBFrontendMusic->setChecked(value("frontend/music", true).toBool()); |
113 Form->ui.pageOptions->SLVolume->setValue(value("audio/volume", 100).toUInt()); |
113 Form->ui.pageOptions->SLVolume->setValue(value("audio/volume", 100).toUInt()); |
114 |
114 |
115 QString netNick = value("net/nick", "").toString(); |
115 QString netNick = value("net/nick", tr("Guest")+QString("%1").arg(rand())).toString(); |
116 Form->ui.pageOptions->editNetNick->setText(netNick); |
116 Form->ui.pageOptions->editNetNick->setText(netNick); |
117 bool savePwd = value("net/savepassword",true).toBool(); |
117 bool savePwd = value("net/savepassword",true).toBool(); |
118 Form->ui.pageOptions->CBSavePassword->setChecked(savePwd); |
118 Form->ui.pageOptions->CBSavePassword->setChecked(savePwd); |
119 |
119 |
120 Form->ui.pageOptions->editNetPassword->installEventFilter(this); |
120 Form->ui.pageOptions->editNetPassword->installEventFilter(this); |