| 385 | } |
| 386 | |
| 387 | struct BrushConfig |
| 388 | { |
| 389 | bool isSystemPath(const QString& path) const |
| 390 | { |
| 391 | return isInPathList(systemPaths, path); |
| 392 | } |
| 393 | |
| 394 | bool isUserPath(const QString& path) const |
| 395 | { |
| 396 | return isInPathList(userPaths, path); |
| 397 | } |
| 398 | |
| 399 | Settings::ColorScheme scheme; |
| 400 | QStringList systemPaths; |
| 401 | QStringList userPaths; |
| 402 | }; |
| 403 | |
| 404 | // construct brush config in main thread and query settings that then can be used in the background |
| 405 | // without introducing data races |
nothing calls this directly
no outgoing calls
no test coverage detected