| 2070 | } |
| 2071 | |
| 2072 | bool Application::checkQSavePath(QString path) |
| 2073 | { |
| 2074 | QMutexLocker locker(&m_qsaveResourcesMutex); |
| 2075 | for (auto partialPath : m_qsaveResources.keys()) { |
| 2076 | if (path.startsWith(partialPath) && m_qsaveResources.value(partialPath, 0) > 0) { |
| 2077 | return true; |
| 2078 | } |
| 2079 | } |
| 2080 | return false; |
| 2081 | } |