| 2044 | } |
| 2045 | |
| 2046 | bool 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 | } |