| 1043 | } |
| 1044 | |
| 1045 | void MainWindow::setPythonEdition(int state) { |
| 1046 | Qt::CheckState forcePython = static_cast<Qt::CheckState>(state); |
| 1047 | if (!ui->checkAllowAnyRev->isChecked()) { |
| 1048 | forcePython = Qt::PartiallyChecked; |
| 1049 | } |
| 1050 | ui->checkPythonEdition->setCheckState(forcePython); |
| 1051 | m_config->setValue(SETTING_PYTHON_EDITION, forcePython); |
| 1052 | emu.setForcePython(forcePython); |
| 1053 | } |
| 1054 | |
| 1055 | void MainWindow::setNormalOs(bool state) { |
| 1056 | ui->checkNormOs->setChecked(state); |
nothing calls this directly
no test coverage detected