| 55 | } |
| 56 | |
| 57 | static bool isPathWithin(const QString &root, const QString &path) |
| 58 | { |
| 59 | QString cleanRoot = QDir::cleanPath(root); |
| 60 | QString cleanPath = QDir::cleanPath(path); |
| 61 | return cleanPath == cleanRoot || cleanPath.startsWith(cleanRoot + "/"); |
| 62 | } |
| 63 | |
| 64 | // Internal Steam app IDs that should not be shown in the UI |
| 65 | static const QSet<uint> kHiddenAppIds = { 7, 760, 2371090 }; |
no outgoing calls
no test coverage detected