MCPcopy Create free account
hub / github.com/Tencent/loli_profiler / SavePythonPathSettings

Method SavePythonPathSettings

src/pathutils.cpp:147–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void PathUtils::SavePythonPathSettings() {
148 QSettings settings("MoreFun", "LoliProfiler");
149 if (!pythonPath_.isEmpty() && QFile::exists(pythonPath_)) {
150 settings.setValue(SETTINGS_PYTHON_PATH, pythonPath_);
151 }
152}
153
154
155QString PathUtils::GetEnvVar(const char* var) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected