| 92 | } |
| 93 | |
| 94 | auto Util::normalizeFolderPath(const QString &path) -> QString { |
| 95 | QString normalizedPath = path; |
| 96 | if (!normalizedPath.endsWith("/") && |
| 97 | !normalizedPath.endsWith(QDir::separator())) { |
| 98 | normalizedPath += QDir::separator(); |
| 99 | } |
| 100 | return QDir::toNativeSeparators(normalizedPath); |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * @brief Finds the absolute path of a binary by searching the PATH environment |
nothing calls this directly
no outgoing calls
no test coverage detected