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

Method LoadPythonPathSettings

src/pathutils.cpp:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void PathUtils::LoadPythonPathSettings() {
140 QSettings settings("MoreFun", "LoliProfiler");
141 QString savedPath = settings.value(SETTINGS_PYTHON_PATH).toString();
142 if (!savedPath.isEmpty() && QFile::exists(savedPath)) {
143 pythonPath_ = savedPath;
144 }
145}
146
147void PathUtils::SavePythonPathSettings() {
148 QSettings settings("MoreFun", "LoliProfiler");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected