| 1926 | } |
| 1927 | |
| 1928 | bool Application::checkQSavePath(QString path) |
| 1929 | { |
| 1930 | QMutexLocker locker(&m_qsaveResourcesMutex); |
| 1931 | for (auto partialPath : m_qsaveResources.keys()) { |
| 1932 | if (path.startsWith(partialPath) && m_qsaveResources.value(partialPath, 0) > 0) { |
| 1933 | return true; |
| 1934 | } |
| 1935 | } |
| 1936 | return false; |
| 1937 | } |
no test coverage detected