| 1032 | } |
| 1033 | |
| 1034 | void MainWindow::setAllowAnyRev(bool state) { |
| 1035 | ui->checkAllowAnyRev->setChecked(state); |
| 1036 | m_config->setValue(SETTING_DEBUGGER_ALLOW_ANY_REV, state); |
| 1037 | emu.setAllowAnyRev(state); |
| 1038 | setAsicValidRevisions(); |
| 1039 | ui->checkPythonEdition->setEnabled(state); |
| 1040 | if (!state) { |
| 1041 | ui->checkPythonEdition->setCheckState(Qt::PartiallyChecked); |
| 1042 | } |
| 1043 | } |
| 1044 | |
| 1045 | void MainWindow::setPythonEdition(int state) { |
| 1046 | Qt::CheckState forcePython = static_cast<Qt::CheckState>(state); |
nothing calls this directly
no outgoing calls
no test coverage detected