MCPcopy Create free account
hub / github.com/PrismLauncher/PrismLauncher / checkQSavePath

Method checkQSavePath

launcher/Application.cpp:2046–2055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2044}
2045
2046bool Application::checkQSavePath(QString path)
2047{
2048 QMutexLocker locker(&m_qsaveResourcesMutex);
2049 for (auto partialPath : m_qsaveResources.keys()) {
2050 if (path.startsWith(partialPath) && m_qsaveResources.value(partialPath, 0) > 0) {
2051 return true;
2052 }
2053 }
2054 return false;
2055}

Callers 1

executeTaskMethod · 0.80

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected