MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / setPythonEdition

Method setPythonEdition

gui/qt/settings.cpp:1045–1053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1043}
1044
1045void 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
1055void MainWindow::setNormalOs(bool state) {
1056 ui->checkNormOs->setChecked(state);

Callers

nothing calls this directly

Calls 1

setForcePythonMethod · 0.80

Tested by

no test coverage detected